Home
Index

# Hex & Binary

You can use hex and binary numbers anywhere in Soulver, but you need to prefix them or they will be interpreted as decimal numbers.

Binary numbers are prefixed with "0b" and hex numbers are prefixed with "0x".
Examples:

0b110101011 | 427
0xdeadbeef | 3.735928559G
0b11010 + 0x4AF *12 | 14,414

Tips

- Hex, binary and decimal numbers can be mixed in the same expression.

- To see your answer in hex or binary too, change line's base in the Formatting Bar.