floor function

Sep 22, 2009 at 5:04pm

floor function


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


Sep 22, 2009 at 6:34pm

Converting to an int will just do that.

Sep 23, 2009 at 9:26am

Yes! Basic.

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

Sep 23, 2009 at 10:04am

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.


You must be logged in to reply to this topic.