ROUND
Last updated
Was this helpful?
Last updated
Was this helpful?
ROUND(number[, precision])
returns the value of the given parameter, rounded to the closest whole number or to the given precision
Note that Atfinity uses bankers rounding also called round half to even, so e.g. 2.5 is rounded to 2, but 3.5 is rounded to 4 (see this about the topic)
This expression returns the total fee that applies to a person, rounded to the whole number. The value for p.total_fee
could come from another , where an expression with SUM
is used to calculate the total fee.
This expression returns the total fee that applies to a person, rounded to two decimal places. This could, for example, be 290.90
.