11.11.14 AsNumber  Method

Gets the value of the element as a number. If the element's value is not a number, an implicit conversion to number will be performed.

Return Value

Type

Description

Number

The number value of the element.

If the element can't be converted into a number, 0 will be returned.