Number format

Hi there

I hope Game Play/Design is the right place for this question.
I’d like to know how to prevent java from
displaying a number like 10.000.000 as 10E+7.
I want the zeros because it looks a little awkward in a game
when upgrading a certain building costs 1.24324E+7 moneyunits.
Is there a method without using BigInteger.
I could write a method where every number with more than
6 digits is converted into a String that has the right look,
but I hope there is an easier way.

Thanks in advance, I hope you can help me.

Have you come across the API doc yet?
Check out NumberFormat and Formatter.