Atom

Integers

An integer is a whole number, such as a count, an index, or a score. An ordinary integer literal uses a signed 64-bit representation.

Write a number in two bases

Hexadecimal is useful when values represent bytes or bit patterns.

Atom
print(42)
print(0x2a)
print(type(42) == i64)
Output
42
42
true

Both literals describe the same number. The 0x prefix tells Atom to read hexadecimal digits.