Integer/floating point division problem.

Qbit's icon

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:

Max Patch
Copy patch and select New From Clipboard in Max.

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.

I just don't get it.

andrea agostini's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

best
aa

Qbit's icon

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.