Forums > MaxMSP

A Round Problem

August 1, 2006 | 12:50 am

Another minor frustration: when displaying float numbers (in number boxes or umenus) there’s often a lot more information than I like. I don’t want to read -14.259999, I want -14.26. So I’ve tried various rounding methods, including integer number boxes, sprintf, but nothing seems to work.

Any ideas, anyone? Obviously, what I need is a non-audio kind of round~. I’ve even tried using the round~ object along with a pair of number~ objects (really a waste of cpu resources) – but it’s not that hard to make those round~s output lots of illegal decimals.

Dag Henning

August 1, 2006 | 1:23 pm

Perhaps the description of the Float Display Correction option as described in the Menus section of the Max "Getting Started" might provide you with some assistance.

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