-
Control the number of Decimal points of a random number with a slider control
Im using
seedRandom(index,true)
random(0,100)to create a random number, is there a way to control the number of decimal points the random number outputs with a slider control?
I thought linking a slider using .toFixed(x) would work but it doesn’t
Anyone?