string.number()
string.number() -> number
Converts a string to a numeric value — the inverse of `number.toFixed()` and `string()`. (Global function.)
Converts a text string into a number type variable
Wrapper to the strtod c function.
Returns
number
Number value of string
Example
let text = "123.456";
let number = text.number();
print( number ); // 123.456