Skip to content

Arithmetics

Hissab supports following arithmetic operations:

Section titled “Hissab supports following arithmetic operations:”

Addition, subtractions, multiplications and division

10 + 5
15
10 - 5
5
10 * 5
50
10 / 5
2
10 ^ 5
100,000
10 ** 5
100,000
25%
0.25
25% of 200
50
200 + 25%
250
200 - 25%
150
25% off 200
150
25% of what is 200
800
5!
120
10 mod 7
3
abs(-232)
232
abs(100 + 30 - 300)
170
8 perm 3
336
8 comb 3
56
lcm(3,36,60,12)
180
gcd(3,36,60,12)
3
min(3,36,60,12)
3
min(1 kg, 1 pound, 100gram)
100 gram
max(3,36,60,12)
60
max(1 kg, 1 pound, 100gram)
1 kg
  • log = log with base e
  • loge = log with base e
  • log10 = log with base 10
  • log2 = log with base 2
log 100
4.6052
loge 100
4.6052
log10 100
2
log2 100
6.6439