STAY IN TOUCH

and receive our newsletter to get the latest news and tips.


Number

A number is always stored as double precision floating point numbers, just like javascript following the international IEEE 754 standard.
  • a number can be declared as a natural number
1
✎ we have a Number here; did you want to do something with it?
  • or using a decimal notation
2.1
✎ we have a Number here; did you want to do something with it?
var x := math → round(10.1)
  • it may results that some arithmetic operations produce a NaN value. You can test this case using math→is nan.
var b := math → is nan(x)