For people having issues, here's the code you put in "Source Text" after you link it to the slider control ( if you renamed Slider Control to NUMBER like in the video then just change that part ). This also includes the bit where it gets rid of the decimals. num = effect("Slider Control")("Slider").value.toFixed(); function addcommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } addcommas(num)
Thank you for your no-nonsense, clear to understand, no bullshit bro-step music blaring through the voice-over, tutorial. It's quality, and I appreciate it.
Great video. I'm always reminded of how much deeper my knowledge of AE should be. Also, for newer versions of AE, they changed the name of the "Numbers" effect. This is how mine is set up and working now. num = effect("Slider Control")("Slider").value.toFixed(); function addCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } addCommas(num)
This tutorial is 1000% better than I've looking for. I just needed this coma separator. But at the same time I learned some new small features. Like "press Enter to rename", or ctrl+alt+home to center the pivot point etc. Thank you! This tutorial is super useful to me!
Excellent tutorial. Straight to the point and goes over the 3 major elements I needed in the counter I am creating. I liked it so much I am commenting about it and I never do that.
Hi, i found the simple easy way is to doublicate the numbers, for example: num = effect("Slider Control")("Slider").value.toFixed() * 2; function addCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); } addCommas(num) ------------------this example will give you 2 million as a maximum value--------------------------- and you can use this method to get any number you want, num = effect("Slider Control")("Slider").value.toFixed() * "HERE YOU CAN DOUBLICATE WITH ANY NUMBER YUO WANT"; so again you can just CHANGE the value to get more results, THANK'S.
Thank u very much! this was the only way that i found to make an counter for Euros with german "." and "," (They write numbers like that 3.394,29 € ). Had only to add another .replace(".", ",") before num = effect("Einstellungen für Schieberegler")("Schieberegler").value.toFixed(2); function addCommas(num) { return num.toString().replace(".", ",").replace(/\B(?=(\d{3})+(?!\d))/g, "."); } r = addCommas(num) +"€"
Hi! Thank you for this tutorial. Together with some tips and other tutorials, I got what I wanted with the code beneath. With "Number FUNNEL 1" being the name of the slider. The only problem is, I cannot seem to go up more dan 1.000.000 (one million). I'm no coder and a bit new in After Effects, but I really need my number to go up higher. Any tips on how to easily add something to my code to make the number go further up and not having to change all the work I've already done? Thanks for the help! num = "€ " + effect("Number FUNNEL 1")("Slider").value.toFixed(); function addDots(x) {
Great tutorial! But what if I need only one number after comma and more numbers before? Like this - 325.1 I tried editing the expression, but nothing good happened. Could you help me? Thank you!
Here is a quicker way to get the same result: ruclips.net/video/HQCBkOjJ400/видео.html
yes but this is free :))
Your website is broken I cant add anything to cart
In our darkest hours, you are the light!
For people having issues, here's the code you put in "Source Text" after you link it to the slider control ( if you renamed Slider Control to NUMBER like in the video then just change that part ). This also includes the bit where it gets rid of the decimals.
num = effect("Slider Control")("Slider").value.toFixed();
function addcommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
addcommas(num)
Thank you for your no-nonsense, clear to understand, no bullshit bro-step music blaring through the voice-over, tutorial. It's quality, and I appreciate it.
:-) I'm glad you found this useful, Arne.
Excellent use of scripting! Great video, guys!
Thank you, SOM! You guys are awesome!
When 2 of the best teachers collide
thank you for putting the function in the description
Another day, another project I need to google this video for.
you are the only one online know what is doing-----thanks you saved me
THAAAANKKKKSS i found many tutorials but this one actually worked
thank you! best one teaching the comma in the counter yet!
I swear I like you man >> You the Best
Perfect. Lots of small details make this far more valuable than just a counter builder.
This saves me every time! Thanks!
genius, Thanks!!!
Great video. I'm always reminded of how much deeper my knowledge of AE should be. Also, for newer versions of AE, they changed the name of the "Numbers" effect. This is how mine is set up and working now.
num = effect("Slider Control")("Slider").value.toFixed();
function addCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
addCommas(num)
just amazing that the whole video is the solution to all my headache! you're a legend!!
This tutorial is 1000% better than I've looking for.
I just needed this coma separator. But at the same time I learned some new small features. Like "press Enter to rename", or ctrl+alt+home to center the pivot point etc.
Thank you! This tutorial is super useful to me!
Звернув увагу, що ви українець. Особливо приємно бачити якісні відео зроблені українцями ;)
Дякую! Туторіал дійсно крутий.
Super tutorial. Helped me in a project I am working upon right now.
It was very useful for me, just replaced the commas for dots. Thank you!
How?
Thanks! Have been looking at heaps of blogs and this video was the most helpful.
This expression is freaking gold! Thank you!
Excellent tutorial. Straight to the point and goes over the 3 major elements I needed in the counter I am creating. I liked it so much I am commenting about it and I never do that.
This expression really helped with an animated graph I needed to make for a project.
How do you work with number greater than 1000000?
Hi, i found the simple easy way is to doublicate the numbers, for example:
num = effect("Slider Control")("Slider").value.toFixed() * 2;
function addCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
addCommas(num)
------------------this example will give you 2 million as a maximum value---------------------------
and you can use this method to get any number you want,
num = effect("Slider Control")("Slider").value.toFixed() * "HERE YOU CAN DOUBLICATE WITH ANY NUMBER YUO WANT";
so again you can just CHANGE the value to get more results, THANK'S.
@@ibrahimcapitolestate5600 this didn't work.
Use a point control instead of a slider control.
YOU ARE THE BEST THANK YOU. Always short and sweet! Keeps me coming back again and again for help.
Great tutorial! Lots of little knowledge gems woven into this into the main task! Thank you!
OMG the only script that helped, thank you
Wonderful! Works like a charm. Thanks so much.
Brilliant! Very useful for our dynamic templates. Thank you again.
king regards from Brazil, you are the BOSS
Thank you for your kind words!
Thank you, man.
AMAAAZING, thank you!!
Brilliant! expression worked as intended just copy and pasting! thanks
Thank you so much!
JUST WHAT I NEEDED! Thanks so much.
Happy to help, Erin!
Great tutorial! Like many others, it helped me out in a pinch for a project. Thank you for posting!
you're the best. thank you.
thank you so much buddy ....for helping me ....this is what i was searching for
Just saved me HOURS. Thank you!!!
I tried Some other tutorials for this, And they didn't work. But You are Awesome! Thank you.
Glad I could help. Thanks for watching, Majid!
Omgosh amazing tip! Thank you so much for this. Great work!
You beautiful human, thank you for this!
Thank you very much for your knowledge! I'm honored to find this way :)
Thanks for sharing!
So clear and informative. Fantastic teacher! Thanks
you save my day man
You are so concise and get right to the point. Thanks!
your video is the answer to my problem! thanks man
Also pressing Enter in the numberpad works to get out of Type mode ;) Great tutorial!
YO! This was super helpful for a current project. Appreciate the time and effort man!
I'm glad you found it useful, Joshua. Thanks for watching it!
Just what I needed. Thanks!!!!!
Thanks for this
Fantastic tutorial - thank you!!!
Lifesaver, thank you!!
You're the best, thank you!!
this was very helpful! thank you!
Thank you so much. Excellent tutorial.
wonderful ... thank you so much ! very clear :)
This was hella helpful! Thank you very much! Keep up the amazing work!
Wow i found exactly what i was looking for and most easy way possible to do it. Keep up the good work !!
Glad to hear that! Thanks for giving it a try!
thanks man!!
THANK YOU!
Thank you so much for this! I use this expression with Slider control : )
Thank you for this great video.
Glad it was helpful!
Awesome tutorial, thanks for your help!
Awesome content. Very helpful. Thanks for taking the time to put this together and share. Love it.
Thank you! You're da man!
I LOVE YOU !!
great stuff. thx
Thank u very much! this was the only way that i found to make an counter for Euros with german "." and "," (They write numbers like that 3.394,29 € ). Had only to add another .replace(".", ",") before
num = effect("Einstellungen für Schieberegler")("Schieberegler").value.toFixed(2);
function addCommas(num) {
return num.toString().replace(".", ",").replace(/\B(?=(\d{3})+(?!\d))/g, ".");
}
r = addCommas(num) +"€"
Thanks a lot :). Finally found what I want for the EUROs in the comments section.
Thank's mate.
Hi!
Thank you for this tutorial. Together with some tips and other tutorials, I got what I wanted with the code beneath. With "Number FUNNEL 1" being the name of the slider. The only problem is, I cannot seem to go up more dan 1.000.000 (one million). I'm no coder and a bit new in After Effects, but I really need my number to go up higher. Any tips on how to easily add something to my code to make the number go further up and not having to change all the work I've already done? Thanks for the help!
num = "€ " + effect("Number FUNNEL 1")("Slider").value.toFixed();
function addDots(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");
}
addDots(num)
Thanks bro... u are awesome
Thanks, M8, very detailed!
i came to learn one thing ended up learning ten, thanks a mil
Thank a lot Sir
This is amazing! I really have to learn expressions.
Thank you!!!!!!!
Thanks! helped me a lot
Awesome! Thanks for watching it!
Thank you! This is so useful! 😊
Awesome video, thanks for the code!
Great tutorial!
Appreciated.............
super helpful! thanks!!
Thank you
Very nice! More useful expression tutorials like this please :)
Thanks, Robert!
Thanks so much soooo helpful!
Thank you so much!! Totally love your channel
buenisimo chamigooooo!! gracias
You deserve more views, the people who watch the video and didn't give like, have the pichula chiquita
I was trying to do exactly that the other day and didnt know how, thanks!
I'm glad I was able to help. Thanks for watching!
@@ukramedia Sir! I need to run exactly with different no. In the same text for eg: 1,237,345 ~ 1,273,888 using slider control
Ik how to add "~" this symbol!
Cheers Mate!
Thanks, John!
Thanks so much, very much appreciated and very helpful, ;-)
Thanks
Great tut but Centre Anchor point on Mac is Command + Control (not Option) + Home.
Thanks man! It Works!
Great tutorial! But what if I need only one number after comma and more numbers before? Like this - 325.1 I tried editing the expression, but nothing good happened. Could you help me? Thank you!
How do we get two commas like "6,24,800"
Love ya... saved the day!!
game CHANGER. thank you!
You should check out my new After Effects tool that does that quicker: ruclips.net/video/HQCBkOjJ400/видео.html