Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Currency Module User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

2.4 Conversion Classes

The Currency Module uses currency exchange objects to convert money of one currency into money of another currency. These objects encapsulate the source and target currency mnemonics, the conversion factors and the exchange algorithm needed for a conversion. Three conversion methods are provided:

In addition to currency exchange objects, the Currency Module provides currency exchange groups. A currency exchange group creates an exchange object when it is presented with a source currency, a target currency, and an exchange rate table. The exchange objects associated with a particular exchange group have a common distinguishing characteristic. For example, RWEuroGroup provides exchange objects for all the currencies that are scheduled to be replaced by the Euro. Similarly, RWMultiplicationGroup and RWDivisionGroup provide currencies that implement the conversion by multiplication and conversion by division, respectively.



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.