-
Counting using a slider but adding a word after the numbers..
Basically..
I need to create an expression that adds a word onto the end of a counting number
I need it to go from 0 to 100 “MILLION” the text stays the same it’s just added onto the line
so it counts 1 MILLION, 2 MILLION 3 MILLION etc etc
So I’m using this expression for my counting numbers
val = effect(“ZEROES”)(“Slider”);
numDec = 0; // digits to right of decimal
numDigit = 0; // digits to left of decimal
if (val < 0) sign = “-” else sign = “”; s = Math.abs(val).toFixed(numDec); while (s.length < numDigit + numDec + 1) s = “0” + s; sign + sI just need to add the word MILLION at the end… is this possible ?? I can’t use a seperate layer as I have some crazy other expressions linking to this text layer ?
Any ideas..
thanks as always
Alex