14 Replies Latest reply on May 8, 2018 7:58 AM by Паныч

    Slider Decimal Place

    kornbif Level 1

      I am using the slider tool to blur a set of numbers up from 0 to 2.9. Initially, I had the issue that the numbers entered had four decimal places  (ex. 2.1253 ) I only needed one decimal place. I found this expression to round up.


      Math.round(effect("Slider Control")("Slider"))


      Unfortunatey, this shows no decimal places and I need to just show one decimal place but cannot find an expression online that is word for word the expression I need.


      Basically I need to go to the tenth decimal place. so from 0 to 2.9, does anyone know the exact expression for this?