Forum Replies Created

  • Jason Snell

    April 6, 2012 at 2:12 am in reply to: Dan-Expression for Counting

    Doh! I need another comma — larger number, I kept screwing up the code…

    1,200,000,000

    Thanks for your help!

  • Jason Snell

    April 4, 2012 at 9:20 pm in reply to: Dan-Expression for Counting

    Perfect! You are a saint!

  • Jason Snell

    April 4, 2012 at 1:57 pm in reply to: Dan-Expression for Counting

    Works great, BUT, I need to add another comma because of how great/long the number is, is there anyway you could help? Thanks!

    startValue = 0;
    endValue = 120000000;
    dur = 4; //seconds

    s = “” + Math.round(linear(time,0,dur,startValue,endValue));
    s.substr(0,s.length-3) + “,” + s.substr(-3,3)

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