Screenshot:

round to nearest integer, even if negative
By default, Max "truncates" floats when turning them into integers. That is 1.01 would turn into 1, as would 1.999. If you want 1.999 to be rounded to 2, then use this abstraction.
Repository Path:
/CNMAT/trunk/max/patches/MMJ-Depot/baseline/basic-programming/round.mxb


Comments
name conflicts
There are patches named "round" in the RTC lib and the jasch objects, and probably others. CNMAT's seems to do everything that those two do, and more. It would be wise to make sure that the "round" you need is the only "round" in your search path.