$roundTenth
$roundTenth
will round to the next tenth.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
number | number | Number to round. | true |
decimalPosition | number | How many numbers after the comma will be returned. | true |
Example(s)
This will return 503.70
as it’s the nearest number to 503.6972
: