
Easily Format Big Numbers and Currency in After Effects
A quick expression to automatically add separators, decimals and currency symbols when using a text layer.
I have seen this problem raised a lot on forums, namely how do you get the Expressions code or rather ExtendScript / JavaScript to automatically add thousands separators to numbers. And how can you have the same number displayed with different currencies?
In the past I might have suggested replace(), split(), join() functions, but they are always a bit awkward to convert, but they are no good when splitting to begin with. But there is a simple function, built into JavaScript that After Effects can also use and it makes the whole thing simple:
Intl.NumberFormat().format()
With just a few options, you can easily format numbers according to any locale, making your project cleaner, smarter, and more professional.
Can’t see this video? Click here! If you are in Safari, hover over “Safari” in your menu, click “settings for creativecow.net” and toggle the “Auto-Play” to “Allow All Auto-Play”.
Enjoying the news? Sign up for the Creative COW Newsletter!
Sign up for the Creative COW newsletter and get weekly updates on industry news, forum highlights, jobs, inspirational tutorials, tips, burning questions, and more! Receive bulletins from the largest, longest-running community dedicated to supporting professionals working in film, video, and audio.
Enter your email address, and your first and last name below!

Responses