Formatting

From Progzoo

Revision as of 00:18, 17 November 2008 by Andr3w (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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]