Computer Science Canada

How do you do ouput formatting ActionScript?

Author:  HazySmoke)345 [ Sun Feb 25, 2007 1:31 am ]
Post subject:  How do you do ouput formatting ActionScript?

Is it possible?
I'm trying to make a dynamic text print out a floating point number to 2 decimal places. Is there a function that can do that for me so I don't have to spend time writing so much code?

On some websites, they say that there's a sprintf function available, just like in the C language. I tried to use it and I haven't got much luck.


: