Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

7.3 Formatting Numbers in Java

Java also uses picture strings to format numbers, however, those picture strings differ from the strings in the Money.h++ C++ library. For a complete description, see the API documentation for class java.text.DecimalFormat.

Here is some example code that shows a currency exchange operation, followed by a formatting operation:


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.