Forums > MaxMSP

How do I adjust the decimal places used/calculated for float-numbers?


December 9, 2010 | 4:43 am

So I've been working on this patch that converts the value of [a/b] into a color code based on the numbers contained in each digit. In this case, i'm using the result of 1/7.

I was wondering how to calculate by more decimal places….

Let me know if this makes any sense. I have difficulty explaining math stuff.

[attachment=148490,1509]

Attachments:
  1. valueseparator.jpg
December 10, 2010 | 2:14 pm

Max is calculating floats with 32 bit accuracy regardless of how many decimal places are displayed.

December 10, 2010 | 3:42 pm

press edit and change that to 24. :)

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

Forums > MaxMSP