...
roundDown(listOfValues, decimalPlace)
Argument | Type | Description |
---|---|---|
listOfValues | Array | List of values to be assessed |
decimalPlace | Integer | Decimal place precision to be used |
Examples
roundDown(in.value, 2)
Where in.value contains [12.343,12.345], roundDown() returns [12.34, 12.34]
Whole Numbers
roundDown(187, -1)
returns 180
roundDown(182, -1)
returns 180
roundDown(10, -2)
returns 100