Fader value -> input

I have a fader with 145 steps, value 0 - 1. I’m trying to get an input to show values from -12 - 60 in response to the fader (so values should be -12, -11.5, -11, -10.5 …etc). In the “value” field of the input I use:

JS{{
return @{fader_1} * 72 - 12
}}

Problem is the values are off, I’m guessing because of floating point numbers. How do I make this work?

Cheers!!!

It seems you need to increase the fader’s decimals property.

As always - thankyou :slightly_smiling_face: