Util.ToNumber
Skip to content
mnscript
number Util.ToNumber(string) 

Description ​

Converts a string to a number

Arguments ​

string - The string to convert

Returns ​

number - The converted number, or -1 if conversion failed