I've created this slider and counter which works just fine going from 5x
down to the W
:
The problem is that I need to create a condition that when a number hits .0
it becomes a whole number, so in this case below, it shouldn't be 5.0x
but 5x
:
Here is my current expression:
effect("Slider Control")("Slider").value.toFixed(1) + "x";