ParseToNumber Command
Define a = 3
and text1 = "6"
. ParseToNumber(a, text1)
returns a = 6.
This is a scripting command which only sets the value of a number once. To convert a text text1 into a number which is updated dynamically, use FromBase(text1,10). |
- ParseToNumber( <Text> )
-
Parses the text and stores the result to a number.
ParseToNumber("1+2+5-pi")
creates the number a = 4.86.
See also ParseToFunction command. |