Extract Number
Use this step in Robots to extract a textual representation of a number and convert it into a numeric value.
To view variables and other elements, see State Pane and Data State Pane.
Properties
Numbers and the letter "E" (both upper and lower case) are not valid in the Decimal Separator, Thousands Separator, and Minus boxes.
- Decimal Separator
-
Specify the decimal separator. The default is "." and can be only one character long.
- Thousands Separator
-
Specify the thousands separator. The default is "," and can be only one character long.
- Minus
-
Specify the minus character. The default is "-" and can be only one character long.
- Convert to Integer
-
(Optional) Click the checkbox to convert the extracted number into an integer.
- Default Value
-
(Optional) Click the checkbox to set a default value.
Without a default value, the step returns an error and execution is paused when no numbers are available to extract. To avoid this error, define the default value, for example, "0.0".