This content has been marked as final. Show 5 replies
my advice: keep the two (strings and numbers) separate. use two different variables for each output textfield. one that will contain your formatted string and the other, the number.
you can use functions to format your strings per your needs. the flash string methods are more than adequate for this.
Kglad thanks for your reponse.
Could you possible give me one example on hown this is done and I'll try and figure out the rest of them on my own?
Not having much luck figuring this out?
How would you apply those functions to the following:
that's not good coding. use the onChanged method of textfields if you want to trigger code execution whenever a textfield changes.
to answer your question, if you want to format tsvText.text to be a number with commas use: