Calculator Guide

Arithmetic

Plain numeric math. Arithmetic needs no special setup.

Operators

  • Addition13 + 44 + 23 + 5645.43
  • Subtraction100 - 25
  • Multiplication10 * 5
  • Division100 / 5
  • Power10 ^ 5
  • Root (fractional exponent) — 256 ^ (1/8)
  • Factorial5!
  • Modulo10 mod 7
  • Absolute valueabs(-234)
13 + 44 + 23 + 5645.43
100 - 25
10 * 5
100 / 5
10 ^ 5

Precedence

Lower rank binds tighter. Use parentheses when the grouping matters.

  1. ! postfix factorial and % postfix percent
  2. ^
  3. *, /, mod
  4. +, -
14 + 88 / 11 * 23.56 - 17
256 ^ (1/8)
5!
10 mod 7
abs(-234)

Roots

Hissab needs no separate root function. Use a fractional exponent and parenthesize it so the exponent is applied before division.

27 ^ (1/3)
256 ^ (1/8)

Common mistakes

  • 256 ^ 1/8 is valid syntax but means (256 ^ 1) / 8, which returns 32. Use 256 ^ (1/8) for the eighth root.
  • abs -5 is invalid — abs is a function, so write abs(-5).
  • 5 apples + 3 apples is invalid — apples is not a known unit. Hissab does not remove unknown words and keep calculating.
  • 10 20 30 is invalid for plain numbers — use explicit operators.
10 + 20 + 30