Forums > MaxMSP

Integer/floating point division problem.

July 22, 2011 | 3:11 pm

Hi all, noob here (well noob to these forums – I’ve been messing with Max for a few months).

My problem involves something about as simple as it gets, and yet I can’t for the life of me see what the issue is:

I want to use a divide object to divide an input by 100 and get a floating point output. But it just gives me integers. Note the decimal point after ’100′ – as I understand it, that should do the trick, but no.

– Pasted Max Patch, click to expand. –

I just don’t get it.


July 22, 2011 | 3:58 pm

Your division is just fine. But an integer number box will only show you integers…

– Pasted Max Patch, click to expand. –

best
aa


July 22, 2011 | 4:19 pm

Ah heh, of course. Thanks Andrea. Somehow I hadn’t noticed that there were two different types of number boxes. And I’ve done quite a bit of patching.


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