modding:function:int
int
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. |
Example
(int "2")
Returns 2
(int 2)
Returns 2
(int "two")
Returns 0
(int "0xDCBA")
Returns 56506 Return to Functions list
modding/function/int.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1