Page 1 of 1

Expression formula

PostPosted: Fri Mar 19, 2021 5:38 pm
by huntelaar
Hi all,

How do you get suffix and prefix words and animation duration on this formula expression:

Text(floor(time^2*100/comp.RenderEnd^2))

I need a word "more than" and a sign "+" at the end so it looks like this:
"More than 100+"

What I'm trying to do is have a counter up to a certain number with both prefix/suffix for adding words and duration of animation, so I can re-use it every time I need something similar.
Thanks

Re: Expression formula

PostPosted: Fri Mar 19, 2021 7:06 pm
by Kenzo
Text("More than "..floor(time^2*100/comp.RenderEnd^2).."+")

Re: Expression formula

PostPosted: Mon Mar 22, 2021 10:24 pm
by huntelaar
Kenzo wrote:Text("More than "..floor(time^2*100/comp.RenderEnd^2).."+")


Thank you, do you also know hoc can I set custom counter/animation duration? If I need it to count to 100 or 1000 in 4 seconds?