-
Limiting numbers after decimal point
Hey everyone, I’m working on a number counter linked to a tracker and want it to just show one number after the decimal(193.4). It worked with Text>Numbers effect but you can’t change the font. I was messing with the .valuetoFixed() but couldn’t get it to work. Thanks for the help.
x=thisComp.layer("tracker2").transform.position.[0];
carStart = 0;
carStop = 800;
numStart = 1;
numStop = 195.4;
ease(x,carStart,carStop,numStart,numStop);