Formatting

From Progzoo
Jump to: navigation, search

You can format numbers using the String.format method. See Format Printing for details of some other options that are available.

You can build a string using format. The % values are substituted.

The output is be:

12,345


[Font] [Default] [Show] [Resize] [History] [Profile]