The integer data type contains whole numbers, such as 4
or 100
.
Base 10 is assumed. Fractional numbers are not allowed.
Octal numbers can be entered by preceding the number with a leading 0
, e.g. 0755
.
Hexadecimal numbers can be entered by preceding the number with a leading 0x
, e.g. 0xf00fabba
The maximum value for an integer in a configuration file is machine-dependent but is at least 32 bits or 4,294,967,296.
Example
count = 5
hex_thing = 0xabcdef