Format Numbers - Comma, decimal, and money symbols | After Effects Tutorial

Format Numbers - Comma, decimal, and money symbols | After Effects Tutorial

It's easy to format text as currency! In this tutorial we learn a quick way to add commas, decimals, and dollar signs to numbers in After Effects with one simple expression 👇👇 -- const num = effect("Slider Control")("Slider").value; const locale = 'en-US'; const options = {style: 'currency', currency: 'USD'}; num.toLocaleString(locale, options) -- The toLocaleString() method lets us easily format money & currency for any country. It is extremely powerful and has many options. The Locale and Currency Codes are linked below. ▬ Links ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Locale Codes https://www.techonthenet.com/js/langu... Currency Codes https://www.techonthenet.com/js/curre... toLocaleString() Guide https://developer.mozilla.org/en-US/d... ▬ Plugins ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Free Plugins for After Effects https://www.mogrts.nyc/tools Animate Subtitles in Premiere Pro https://captioneer.com ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 0:00​​​ - Intro 00:20​ - Project Settings 00:30 - ("Slider").value 00:54 - toLocaleString() 01:09 - Locale Codes 01:37 - Currency Codes 02:42 - Extra tips 03:08 - Over 1,000,000 03:31 - Resources 03:40 - Outro #aftereffects​​ #typography #motiondesign #expressions