Noob: How can i change the values of "number" from decimals to 0.1

ADHD101's icon

Hi
Im new here, and i got a problem with the "number" object
So my question is how can i change the values from decimals to 0.1, 0.2, 0.3, etc. in the "number" object?

[quote]
less is more
[/quote]

1441.Audio_blur_patch.JPG
JPG
MIB's icon

use a "flonum" ;)
don't forget to check helpfiles!!

westwick's icon

There's a few different kinds of number box you can choose from. The basic one only allows integers (no decimal points) but you can also use a box type called float which allows points.

If you want to get from whole numbers to decimal point ones like I think you described. Then you can take your number box then do a divide by ten operation into a float box.

If you go into help>tutorials for max, it shows you how to do all that lovely number arithmetic properly.

ADHD101's icon

Thanks everybody for your help :)

seejayjames's icon

ints also let you use arrow up and down keys to change, whereas floats let you decide where to mouse up and down: try making a big float number box and click/drag at the decimal place you want to change (tenths, hundredths, etc.)

Also, both kinds of number boxes (and slider, dial, and possibly others) will change how fast they change if you hold Shift when mousing. great stuff :)