2 Replies Latest reply on Apr 3, 2016 3:50 AM by radog15387394

    Is it possible a 0 to appear after decimal point when the value is rounded? (I get: 20-20,1; I need 20,0-20,1).

    radog15387394

      By using "slider control" text effect I am able to visualize change from "30°C" to "35,5°C". My question is: is it possible a 0 to appear after decimal point when the value is rounded? (I get: 20-20,1; I need 20,0-20,1). I am using this code:

      temp = effect("Slider Control")("Slider");

      sliderValue = Math.round(temp*10)/10;

      [sliderValue + "°C "]