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.