In addition to supplying member functions (Java), and overloaded operators for arithmetic operations involving same-currency money objects, Money.h++ includes the C++ class RWMoneyCalculator and the Java class MoneyCalculator: money calculator classes that can perform arithmetic operations when the money operands are not the same currency. When using a money calculator class, you have the option of setting a conversion policy for calculator objects and of setting the desired accuracy, rounding policy, and precision for the calculator.
See Chapter 4, "Money and Calculations," and the Class Reference for more information about using class RWMoneyCalculator.
©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.