RoundDown Function
Description:
Round a number down (towards zero) to a specified number of decimal places.
This is equivalent to textually truncating a value to a significant number of decimal characters.
The functions
RoundDown
and Truncate
are equivalent for non-negative numbers. Returns:
Number
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Number | The number to be rounded. |
2 | Whole Number | The decimal precision. |
Examples:
When using functions inside a field, remember the field brackets:
{RoundDown(VariableName)}
Expression | Result |
|---|---|
RoundDown( 6.055, 3 ) | 6.055 |
RoundDown( -6.055, 2 ) | -6.05 |
RoundDown( -6.055, 1 ) | -6 |