You can probably look into the NumberFormatter class

http://livedocs.adobe.com/flex/3/langref/mx/formatters/NumberFormatter
.html



--- In flexcoders@yahoogroups.com, "Jo Morano" <[EMAIL PROTECTED]> 
wrote:
>
> Hi!
> 
> I have a Number that I need to print out along with other strings. 
I don't
> get the leading or trailing 0's and that continues to affect the 
label whose
> text they represent. Is there a C style formatting mechanism which 
would
> make
> 
> string = "" + number
> 
> give me "12.34" when number is 12.34 and "00.00" for number = 0?
> 
> Today I get "12.34" and "0" respectively.
>


Reply via email to