Skip to main content
Go to Latest
File
[integer]int1 = +99int2 = 42int3 = 0int4 = -17int5 = 1_000int6 = 5_349_221int7 = 1_2_3_4_5 # VALID but discouraged
# hexadecimal with prefix `0x`hex1 = 0xDEADBEEFhex2 = 0xdeadbeefhex3 = 0xdead_beef
# octal with prefix `0o`oct1 = 0o01234567oct2 = 0o755 # useful for Unix file permissions
# binary with prefix `0b`bin1 = 0b11010110