PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

Round

Rounds a number to the number of decimal places you choose.

Round rounds a number to the nearest value with the number of decimal places you choose. Use it to show prices with two decimals, to round measurements, or to remove decimals altogether.

Add the action

In the Process Designer toolbox, open Numerical and pick Round (or type Round in the search box).

The Round action properties: Input number, Input number of digits and Result

Inputs and outputs

FieldDirectionTypeRequiredWhat to put / what you get
Input numberInputNumber (decimal)YesThe number to round.
Input number of digitsInputIntegerYesHow many decimal places to keep. 0 gives a whole number. A negative value rounds to tens, hundredsโ€ฆ
ResultOutputNumber (decimal)YesThe rounded number.

Example

Input numberInput number of digitsResult
3.1415923.14
-2.5671-2.6
1234.5-21200
727
2.502
3.504
-2.50-2
1.2511.2
1.00521

Good to know

A number exactly halfway is rounded to the even neighbour ("banker's rounding"), not always up: 2.5 โ†’ 2, 3.5 โ†’ 4, 1.25 โ†’ 1.2. If you need halves of positive numbers to always go up, add a tiny amount (for example 0.0000001) with Add before rounding.

  • Some decimals cannot be stored exactly, so a value that looks like a half may be slightly below it: 1.005 to 2 digits gives 1, not 1.01.
  • Result has no trailing zeros: 7 with 2 digits stays 7, not 7.00. To show 7.00, format the number as text when you display it.

On this page