Forums > MaxMSP

truncate value

June 11, 2012 | 7:21 pm

is there a way to truncate a value if it gets higher than a specified number. For example: if you set a limit of 100 and the incoming value is 103, the 100 gets truncated, so the resulting value is 3. I could do this with the if-then expressions but if the value would be 206 than I would have to create a second instance of if-then. I am looking for a more efficient way.


June 11, 2012 | 7:47 pm

modulo? % 100


June 11, 2012 | 8:03 pm

How could I look over this? Thanks!


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