rounding max signals and interpolation

titchg123's icon

is there an easy way to round to the nearest decimal place in max?
i am trying to trigger samples using a piezo pickup and i want the sample to trigger when it goes over a certain value but sometimes doesent trigger.
could it be that i need to use interpolation, if so how do i go about this?

AudioLemon's icon

round or round~ will round to nearest decimal.

titchg123's icon

cheers