Extensions > API reference > int

int

A type to represent integers. It can represent any number between -2147483648 and 2147483647 (included). Examples of int values:
153
0x2A  # hexadecimal literal
0o54  # octal literal
23 * 2 + 5
100 / -7
100 % -7  # -5 (unlike in some other languages)
int("18")