Skip to main content

Calculate

Work out a number: pick an operation (add, divide, power, round up, average, percent of ...) or write a formula such as ($price$ * $qty$) * (1 + $tax$ / 100).

Command in the Number toolkit · id ooa.number/calculate · 6 inputs, 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
OperationStringNoaddWhat to work out. Percent of: A percent of B. Percentage change: from A to B, in percent. Round, round up and round down use Decimals.
Number ANumberNoThe first number (the only one for square root, absolute, negate, round and the parts).
Number BNumberNoThe second number: what is added, subtracted, multiplied by, divided by, the power, or the whole for Percent of.
NumbersListNoThe numbers, as a List variable or [1, 2, 3]; empty items are left out.
FormulaAnyNoA calculation with variables, brackets and functions, e.g. ($price$ * $qty$) * (1 + $tax$ / 100) or round(average($prices$), 2).
DecimalsNumberNoRound the result half up to this many decimals; empty keeps it as it is (Round, Round up and Round down: 0 when empty).

Outputs​

OutputTypeWhat it is
resultNumberThe result of the calculation.