int fields contain 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.
Example | Valid | Notes |
---|---|---|
23 | ||
00023 | ||
-23 | ||
-00023 | ||
+23 | Positive values are represented without a sign character | |
23.0 | Decimal point is not supported for ints | |
10a | 'a' is not a valid digit |