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 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.