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

4.1 Introduction

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.



Previous fileTop of DocumentContentsIndex pageNext 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.
Contact Rogue Wave about documentation or support issues.