Link Search Menu Expand Document

Numbers

Integers

num = 31
num2 = -31

Floats

num = 0.1
num2 = 1923.1230
num3 = .31

Hexadecimal

(syntax coloring to be improved)

num = 0xDEADBEEF
num2 = -0xFFFFffff

Octal

(syntax coloring to be improved)

num = 0o01234567
num2 = -0o0234

Binary

(syntax coloring to be improved)

num = 0b11010110
num2 = -0b1111111

Exponents

(syntax coloring to be improved)

num = 2E-2
num2 = -2E+2