Integer/floating point division problem.

Jul 22, 2011 at 3:11pm

Integer/floating point division problem.

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.

Jul 22, 2011 at 3:58pm

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

– Pasted Max Patch, click to expand. –


Jul 22, 2011 at 4:19pm

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.


You must be logged in to reply to this topic.