Skip to main content

Arithmetic operations

In Decipad you have all the arithmetic operations you would expect:

When you have numbers with units, these operations also result in numbers with units:

Depending on the operations, the units must match. For instance, when adding or subtracting, the units in the numbers should be the same.

Here you can see what happens when you try to add numbers with different units:

When doing any arithmetic operation with two numbers, you can omit the units in one of them:

Decipad tries its best to match plural and singular units:

Other operations, like exponentiation, do their best to compute the correct units:

You can also use percentages:

Percentages can be added to other numbers, to increase them proportionally: