Reference > Expressions > Built-in Functions > Numeric and Currency Functions > RoundDown

RoundDown

Rounds a value down to the previous whole number.

Syntax

RoundDown(value)

Enabled for

Search/Dashboard No
Business Rules Yes
Quick Actions Yes
Workflow Objects Yes
Reports No

Parameter

value Numeric or currency value to round down.

Return Value

The same type as the value parameter type. If the value parameter is a currency value, this function returns a currency value. If the value parameter is a number value, this function returns a number value. If the value parameter is not a number nor a currency, returns an error.

Examples

 

$(RoundDown(2.12345))

The above example returns a value of 2. The value parameter is a number so it returns the greatest integer that is less than or equal to the value parameter.

 

$(RoundDown(2.12789USD))

The above example returns a value of 2USD.