Round a number to the nearest value based on the specified number of digits.
Specify the original value in the first argument and the number of digits in the second argument.
If the number of digits is zero, the first decimal place is rounded to the nearest integer. If the number is positive (N), the (N+1)th decimal place is rounded to the nearest integer, and if the number is negative (-N), the Nth decimal place is rounded to the nearest integer. The number of digits can be omitted; if it is omitted, it is the same as zero.
${round(Number_1, 2)}
Example results according to the value of the Number_1 field
Number_1 = 1.234 → 1.23
Number_1 = 1.235 → 1.24
${round(Number_1, -2)}
Example results according to the value of the Number_1 field
Number_1 = 1234 -> 1200
Number_1 = 1254 -> 1300
The example below rounds off the decimal places of x to the nearest integer.
= round(x)