11.13.8 GetNumber Method

Gets the number value of a child element at the specified index.

Input Arguments

Name

Type

Mandatory

Description

Index

Number

Yes

The index of the child element.

DefaultValue

Number

No

The default value if no element with the specified name exists.

 

Return Value

Type

Description

Number

The number value of the child element.

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