Difference between revisions of "ParseToNumber Command"
From GeoGebra Manual
(added link to ParseToFunction) |
m |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude> |
{{command|scripting}} | {{command|scripting}} | ||
;ParseToNumber[ <Number>, <String> ] | ;ParseToNumber[ <Number>, <String> ] |
Revision as of 08:59, 3 August 2015
- ParseToNumber[ <Number>, <String> ]
- Parses the string and stores the result to a number a, which must be defined and free before the command is used.
- Example: Define
a = 3
andtext1 = "6"
.ParseToNumber[a, text1]
returns a = 6.
Note: See also ParseToFunction command.