Use a Currency Formatter: // import the class import mx.formatters.CurrencyFormatter;
// in code create and instance and set the format (also include $|,|. selection) var cashFormatter:CurrencyFormatter = new CurrencyFormatter(); cashFormatter.precision=2; // apply the format to the raw and save productPrice.text = cashFormatter.format(productObj.retailprice); -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

