Money objects attach a currency mnemonic to an amount by encapsulating a decimal value and referencing a currency. The Currency Module provides money objects through the class RWMoney.
The money object classes provide ways to perform arithmetic operations among money operands of the same currency. However, you can't use the money classes to perform arithmetic operations with operands whose currencies may differ. To provide this functionality, the Currency Module provides a money calculator class in the RWMoneyCalculator<T>. Section 4.4, "Mixed-Currency Calculations," describes how to use this class.
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.
Contact Rogue Wave about documentation or support issues.