Skip to main content

Number

Reads the value as a number and applies an operation to it. Arithmetic is done in decimal, so 0.1 + 0.2 is 0.3. A list has each of its items worked on in turn, and a value that isn't a number fails the step.

Operation​

What to do to the number.

  • Arithmetic: Adds, subtracts, multiplies or divides by an operand, or gives the remainder of dividing by it.
  • Format: Writes the number for people to read, the way a locale writes numbers, producing text.
  • Limit: Keeps the number within a range, such as a page size an API caps at 100.
  • Round: Rounds the number.

Operation › Arithmetic​

Adds, subtracts, multiplies or divides by an operand, or gives the remainder of dividing by it.

Operator​

What to do with the operand.

Required

Operand​

The other number. Accepts a variable reference. Dividing by zero fails the step.

Required · Accepts variables

Operation › Format​

Writes the number for people to read, the way a locale writes numbers, producing text.

Style​

Plain writes 1234.5, the same in every locale; Grouped 1,234.5; Percent writes 0.25 as 25%; Currency $1,234.50, in Currency or the locale's own; Compact 1.2K.

Required

Decimal Places​

How many digits to write after the point. Leave it blank for the style's own: every digit the number has for Plain and Grouped, none for Percent, a currency's cents, or one for Compact.

Currency​

The currency code for Currency, such as USD or EUR. Leave it blank for the locale's own.

Locale​

The locale whose conventions are used. Leave it blank for the server's.

Operation › Limit​

Keeps the number within a range, such as a page size an API caps at 100.

Minimum​

The smallest value allowed. Leave it blank for no lower limit. Accepts a variable reference.

Accepts variables

Maximum​

The largest value allowed. Leave it blank for no upper limit. Accepts a variable reference.

Accepts variables

Operation › Round​

Rounds the number.

Direction​

Nearest rounds a half away from zero, so 2.5 is 3; Up and Down always round in that direction.

Required

Decimal Places​

How many digits to keep after the point. Leave it blank for a whole number. A negative number rounds to tens, hundreds and so on.

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.