ParseToNumber[]

acron shared this question 7 years ago
Needs Answer

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 and text1 = "6". ParseToNumber[a, text1] returns a = 6.


The ParseToNumber is use in scripting? This is not well specified on the command page, it took me half an hour to understand.


Would it be possible on Scripting Command pages to add a simple example?


Tony

© 2022 International GeoGebra Institute