round decimal - part-cw/lambdanative GitHub Wiki
(round-decimal num place)
round-decimal rounds a number to the specified decimal place.
Parameter | Description |
---|---|
num | Number to be rounded |
place | Number of places to be kept (<10) |
Example
Example 1: Round a few values
> (round-decimal 3.14159265 3)
3.142