TipYou can use floor
for rounding to the nearest number (for example, rounding 2.75 up
to 3 and rounding 2.25 down to 2). Simply create a function that adds
0.5 to the number before using floor; this will get the right results:
floor (2.25 + .5) = 2
floor (2.75 + .5) = 3