Skip to main content
Inspiring
July 6, 2025
Answered

slider control number not showing decimal increase

  • July 6, 2025
  • 1 reply
  • 139 views

Hi,

 

Any help is welcome on making my decimal work in the increase.

 

I have a text (number) with slider control so it is animated to go from 1.0 to 10.0.

I have used the round expression with 1 decimal.

expression used: Math.round(effect("Slider Control")("Slider")).toFixed(1)

 

Problem is: it shows the decimal structure but the decimal is only showing 0 (zero), not animating.

 

wanted:

1.1

1.2

1.3

etc.

2.0

2.1

 

currently

1.0

2.0

Correct answer that35510420xudu

found it on youtube: num = effect("Slider Control")("Slider").value.toFixed(1);

 

Thanks Andy Ford Video: www.youtube.com/watch?v=EfoHlj0CKes

1 reply

that35510420xuduAuthorCorrect answer
Inspiring
July 6, 2025

found it on youtube: num = effect("Slider Control")("Slider").value.toFixed(1);

 

Thanks Andy Ford Video: www.youtube.com/watch?v=EfoHlj0CKes