Integers and decimals / Slider Control
I am trying to count up from 00.0 to 27.3, using where each number is made up of 2 digits and 1 decimal place - so for the single digit numbers, there will still be a 0 ahead of it (ex: 3 would be listed at 03.0 when counting up). I found the expression to keep 1 decimal point at all time, even for integers:
effect("Slider Control")("Slider").value.toFixed(1);
But can't figure out how to have the single digit numbers have a zero in front of them. Does anyone know how to do this?
