#adobe #adobeaftereffects #aftereffects #motiongraphics
In this video, I'll show you how to create various types of animations with numbers, using expressions to make the process easier and simpler.
Here's the expression to add commas between the decimal places of a number:
variable = value;
function addCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
addCommas(variable)
*In this case, "variable" is the name I used to define the expression.
*"Value" is where you should put the expression to which you want to add the commas.
Regards.