exact round - part-cw/lambdanative GitHub Wiki

(exact-round x)

exact-round returns a rounded number. This one rounds up or down as appropriate.

Parameter Description
x Number to be rounded

Example

Example 1: Round a number

> (exact-round 3.1)
3
> (exact-round 3.99)  
4