FORUMS: list search recent posts

Expression for Percentage Counter with Commas for Hundredths

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Carlos Leite
Expression for Percentage Counter with Commas for Hundredths
on Sep 13, 2016 at 8:05:02 pm

Hello everyone! Hope you're all having a good evening.

I've been trying an expression for a counter with percentage signal at the end of it.

With both the slider.counter or linear function methods it works - but the hundredths are automatically converted to dots instead of commas - i.e.: "18,63" on a slider counter turns into "18.63" on the output text.

Mind you all that I've also tried with the "Numbers" effect, but it doesn't give me the visual output required for the project because I'll also have to animate position, scale, amongst other properties as well.

I've searched on the forums about this subject, but the answers I've found didn't seem to work. If you could help on this one, it'd be much appreciated.
If you know how to code into the source text - so it gives more flexibility to animate and keyframe other properties - it would be perfect.

Cheers and good jobs for us all!


Return to posts index

Kalleheikki Kannisto
Re: Expression for Percentage Counter with Commas for Hundredths
on Sep 13, 2016 at 8:14:35 pm

You can use string.replace("." , ",") where string is your string variable.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

Will Gallow
Re: Expression for Percentage Counter with Commas for Hundredths
on Sep 22, 2016 at 5:59:55 pm

Or you can use a free preset, to easily create counters and countdowns, called CounterPro :)

http://www.behance.net/gallery/41370141/CounterPro-Free-AE-Preset


Return to posts index

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