Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Technique for Animated Number Countdown with Commas

  • Rico Nguyen

    February 4, 2020 at 6:54 am

    pls show me how to do If I want to take one number after common?
    Many thanks!

  • Tim Garber

    January 19, 2021 at 9:16 pm

    Curious. This looks like it should work but I am getting syntax errors of a few different lines.

    The first line, but I discovered if I re-pickwhip the Slider control the value doesn’t change but the syntax is solved,

    More complicated for me since I don’t code, is line 7. Just a syntax with no explanation.

    I’m using the most current version, 17.5.1

  • Kevin Camp

    January 20, 2021 at 11:14 pm

    To go over 1 million you can also use an angle control rather than a slider control. It’s an odd work around but it works.

  • Filip Vandueren

    January 21, 2021 at 9:51 am

    Here’s how to do things like this in the new Javascript engine:

    var num = effect("Point Control")("Point")[0];
    num.toLocaleString('en-EN', {style: "currency", currency: "USD"});

    see here for all possible options:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat

  • Kevin Camp

    January 22, 2021 at 9:41 pm

    That is really cool Filip!

  • Tom Davis

    February 2, 2021 at 2:29 pm

    In the latest version of After Effects you can do the following:

    Apply an angle control to a text layer (sliders are limited to 1 million) and then add the following expression to the source text:

    var num = parseFloat(effect("Angle Control")("Angle")); 
    num.toLocaleString("en-GB");

    I’ve also written a blog post with more information on how to create a number counter with commas in After Effects including how to include currency options as well!

  • Claire Presnall

    August 8, 2023 at 3:32 am

    11 years later, and this was EXACTLY what I needed! Thanks!!!

Page 3 of 3

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy