API Demo

Take value one and two and chose what operation to do on them.

Set values

You can set integers or floating-point numbers.

Operation

Result

---

Some notes:

  • multiply() by default adds the scales of each number.
  • divide() requires a 2nd param scale, and right now the demo defaults to the max scale of the two numbers.
    So 1 and 2 result in 0 as the scale of that result cuts of the decimal values.

Send your feedback or bugreport!