If I remember Correctly there is a class in java.util call NumberFormat that will do it for you. Check the javadocs for it. --- firstname.lastname@example.org wrote: > Anyone know of a way to format integers for output > display with commas. > ex: 200,000,000 > > Thanks in advance, > Tom > > > > > +--- > | This is the JAVA/400 Mailing List! > | To submit a new message, send your mail to > JAVA400-L@midrange.com. > | To subscribe to this list send email to > JAVA400-L-SUB@midrange.com. > | To unsubscribe from this list send email to > JAVA400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner: > email@example.com > +--- ===== Eric Merritt Information Systems Consultant McCormack & Associates, Inc. Rock Hill, South Carolina (V) 803-327-3358 X 225 firstname.lastname@example.org http://www.mccinc.com/ __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ +--- | This is the JAVA/400 Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.