Forums > MaxMSP

floor function

September 22, 2009 | 5:04 pm

Hello,

Do we have a "floor" like C function in Max that round a float number to the previous integer?

thx!


September 22, 2009 | 6:34 pm

Converting to an int will just do that.


September 23, 2009 | 9:26 am

Yes! Basic.

.. and I just found the [floor] jasch external …


September 23, 2009 | 10:04 am

In the interest of full disclosure: lp.scampi supports floor, ceiling, round to zero, round to infinity, and "conventional" rounding.

lp.scampi’s primarily there for scaling/mapping and the rounding options are just a bonus feature. But it’s nice to know they’re there.


Viewing 4 posts - 1 through 4 (of 4 total)