WebElementTextAsNumber Method
Return a number parsed from the text

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As WebElement
Dim decimalCharacter As String
Dim errorValue As Object
Dim returnValue As Object

returnValue = instance.TextAsNumber(decimalCharacter, 
	errorValue)

Parameters

decimalCharacter (Optional)
Type: SystemString
Decimal character. Default is "."
errorValue (Optional)
Type: SystemObject
Default value in case of failure

Return Value

Type: Object
Number or defualt value
See Also