Created
November 11, 2019 16:22
-
-
Save MarissaJ/6d789fbacdab31635d0350c9af944e09 to your computer and use it in GitHub Desktop.
Animate Numbers Counting up with One Comma in After Effects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start=parseInt(thisLayer.text.sourceText="0"); | |
end=parseInt(text.sourceText); | |
val=Math.round(easeOut(time, startTime, 2,start, end)); | |
s=""+ val; | |
if (s.length > 3){ | |
s.substr(0, s.length -3) + "," + s.substr(-3); | |
}else{ | |
s | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment