Sfairadora

  • Reference Guide

str_to_num

str_to_num(str, base)
Converts the string str containing a text representation of a number to an integer. The base parameter determines the base of the number representation to be used. If the base is 10, an equivalent result can be achieved with the typecast operator ([Int]str). The result is of the type Int, Int64 or Qword, according to the size of the number. If the base is not within the range of 2 up to 36, an error is returned.

See Also