ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Count Number Up with comma and one decimal places

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Adam Haas
Count Number Up with comma and one decimal places
on Oct 24, 2018 at 6:12:12 pm

I've found a few scripts to do this or that but not in combo, or it rounds defeating the purpose.

I have a table of data I want to animate (going to take forever).

Some of the values include:

148,988.2
137,190.9
22,466.7
619.7
7,691.2
14,155.8
114,724.2
548.5
5,904.6
15,353.2
4,469.6
3,037.9
8,366.6
17,566.2
2,900.9
15,253.3
13,109.7
6,240.5
2,732.0
19,241.2


How can I animate this from 0 to the value in the sourcetext?


Return to posts index

Amir Aizat
Re: Count Number Up with comma and one decimal places
on Oct 25, 2018 at 11:01:51 am

Dan Ebberts have a solution on his website:

http://www.motionscript.com/design-guide/counter.html

I've tried it just now and it works great with your values. The only problem is that you have to remove the commas first, but that shouldn't be too hard by any stretch of the imagination (you can write a simple script or ctrl+f find and replace all ",").


Return to posts index

Adam Haas
Re: Count Number Up with comma and one decimal places
on Oct 25, 2018 at 6:23:54 pm

Thank you! I'll give this a try later this week.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]