Skip to content

Math

Computes a number from the value and other columns.

Group: Numbers

A price with VAT, a price without VAT, a discount, a margin.

  • Expression: write a column as {name} and the current value as value. Use + - * / %, parentheses and the functions round, floor, ceil, abs, min and max.
  • Decimals of the result: a fixed number, or As needed.
  • Decimal separator: set it if your catalog has prices with 3 decimals.
Before After
100 120 ({price} * 1.2)
119.99 99.99 (round({price} / 1.2, 2))
3 0 (max(value - 5, 0))
  • Numbers are read like prices: 1 234,56 € is read as 1234.56.
  • A product whose numbers cannot be read, or that divides by zero, gets an empty value, and the run log says how many.
  • A mistake in the expression is refused when you save, with its position.