Log in

Int Data Type

The int datatype represents an integer number. More precisely, a sequence of digits preceded by an optional minus sign character -.

int values may contain leading zeros, e.g. 00023 is equivalent to 23.

Examples

ExampleValidNotes
23
00023
-23
-00023
+23Positive values are represented without a sign character
23.0Decimal point is not supported for ints
10a'a' is not a valid digit

Subtypes