Every week, Frame.io Insider asks one among our knowledgeable contributors to share a tip, device, or method that they use on a regular basis and couldn’t reside with out. This week, Laurence Grayson exhibits you how you can get your overseas forex codecs beneath management in After Effects.
If you’re producing business movement graphics, ultimately you’re going to need to cope with currencies. Not a difficulty for those who’re solely working with one forex—notably if it’s your native forex—however probably advanced in case your consumer has requested you to create variations of your work for a number of territories.

But it doesn’t need to be. Thanks to After Effects’ personal inner toolset and this single-line After Effects expression demonstrated by Nic Dean on his YouTube channel Mograph Mindset, you’ll be able to change between a number of currencies and their localized formatting simply by altering a few values.
Here’s how you can format forex in After Effects:
- Go to Project Settings->Expressions and ensure Javascript is enabled as your Expression Engine.
- Add some textual content to your composition then add a Slider Control impact to the textual content layer.
- Pickwhip the Source Text worth of the textual content layer to your Slider Control and use the Source Text twirldown to disclose the Expression this creates.
- Replace it with this textual content:
const num = impact("Slider Control")("Slider").worth; num.toLocaleString('en-US', {fashion: 'forex', forex: 'USD'})
Now you’ll be able to change the locale and forex values to fit your wants. For instance, ‘en-GB’ and ‘GBP’ offers you British Pounds, ‘de-DE’ and ‘EUR’ offers you German Euros.

You can discover the full list of ISO currency codes here, and language-COUNTRY codes can be found here. While you’ll be able to combine and match these if you want to, matching the locale worth with the forex worth will ensure you get the proper forex image in addition to the proper forex formatting.
Leave a Reply