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

4.2 Attaching a Currency to a Value

Class RWMoney<T> provides a mapping between an amount and a currency, by encapsulating a decimal value and referencing a currency; the value is an arbitrary decimal type specified as a template parameter.

The following example creates some RWMoney objects:



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.