Syntax | (int string) |
---|---|
Arguments | string: a string you want returned as number |
Returns | number: the integer version of the string |
Category | 0.99, string operator |
Description | Takes a string representation of a number and returns it as an actual number. I can also convert hexadecimal strings. |
(int "2")
Returns 2
(int 2)
Returns 2
(int "two")
Returns 0
(int "0xDCBA")
Returns 56506 Return to Functions list