• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

After Effects number counter in steps of 10s

New Here ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

I can't find a way to animate my number counter (numbers from 0% - 100%) in steps of 10s (just the 0% - 10% - 20%... - 100%). I am using the slider control and expression "Math.round" for whole numbers.

I am happy if someone can help. If possible a german answer would be even best for me, thank you.

TOPICS
Expressions

Views

2.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

Like this maybe:

 

s = effect("Slider Control")("Slider");
Math.round(s/10)*10 + "%"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

This gives me one decimal number (E.g. 15,1%) now, but doesnt change something at the steps.

Nevertheless, thank you very much.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2020 Oct 11, 2020

Copy link to clipboard

Copied

I'm not sure how you could be getting that result. Is it possible you reversed the / and the * ?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 08, 2021 Dec 08, 2021

Copy link to clipboard

Copied

LATEST

this helped me perfectly... thanks

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines