Need help finding/inserting slider expression into existing expression so no decimal and add comma
Hello all experts!
I've got an expression (see below) in an AE template for 3D Bars, and it contains an expression for the numbers to count up, but for the life of me, I can't find the right expression to add, and the right place to insert it, so that the numbers 1) don't have the decimal point, and 2) do include the comma inserted. The numbers do not go higher than 100,000. Appreciate all the help!
Here's the existing expression:
d1s = inPoint;
d2s = 0;
d2e = effect(3)("Slider");
d3s = outPoint;
trans = 1;
if (marker.numKeys==2)
{
d3e = marker.key(2).time;
d1e = marker.key(1).time;
}
else
{
d3e = outPoint - trans;
d1e = inPoint + trans;
}
ease(time, d1s, d1e, d2s, d2e) - ease(time, d3s, d3e, d2s, d2e);
And a picture of the A/E comp:

Thanks!