The Java programming language has a DecimalFormat class, used to format
integers into conveniently readable form. This applet allows you to
experiment with the format string and integers to be formatted, and
immediately see the results.
See other applets like this one