Hi all,
How would I go about limiting the number of digits on the label of a slider? So for example, my range is from 0 to 1, and I want the slider to only display 0.12 instead of 0.1265375.
Thanks!
Limiting number of digits in a slider
Hi all,
How would I go about limiting the number of digits on the label of a slider? So for example, my range is from 0 to 1, and I want the slider to only display 0.12 instead of 0.1265375.
Thanks!
@b4cat Probably using [int] would be easiest before sending the value to the label.
Muliply the output or the fader by 100, feed it to [int] ...... left inlet so that it is sent on straight away.... and then divide by 100 and send it to the label.
David.
@whale-av
Thanks for the response! Where would I place that in a situation like this?
@b4cat Between each [r $0-xxxxx-xx] and its [label X:$1( message.
David.
@whale-av Thank you!
Oops! Looks like something went wrong!