-
Text from dropdown list
Hello everyone !
I’ve a little problem in my expression.
I try to add a variable suffix on a timer, via a dropdown list from my pseudo effect where I could choose the suffix (%, €, $ …). My expression (on text source) looks like this :_suffix = thisComp.layer(“Timer”).effect(“Compteur”)(“Selection”).value;
if (_suffix ==1) “%”
else if (_suffix ==2) “€”
else if (_suffix ==3) “$”Math.floor(time) + _suffix
But it doesn’t work… I don’t have any suffix after my Math.floor(time).
Thanks you for your help, and sorry for my bad english (I’m french) :p
