Number notation

Numbers in Numbat can be written in the following forms:

  • Integer notation
    • 12345
    • 12_345 — with decimal separators
  • Floating point notation
    • 0.234
    • .234 — without the leading zero
  • Scientific notation
    • 1.234e15
    • 1.234e+15
    • 1e-9
    • 1.0e-9
  • Non-decimal bases notation
    • 0x2A — Hexadecimal
    • 0o52 — Octal
    • 0b101010 — Binary