HydraExpress 4.6 |
HydraExpress C++ API Reference Guide |
|
Provides enumerations used in the rwsf::Decimal class. More...
#include <rwsf/core/DecimalBase.h>
Public Types | |
enum | RoundingMethod { PLAIN, UP, DOWN, BANKERS, TRUNCATE } |
This class provides enumerations used in the rwsf::Decimal class.
Sets the rounding method for the rwsf::Decimal::round() function. For all descriptions, the number to be rounded is split into the integer part (i.e., before decimal point) I and the fractional part (i.e., after decimal point) F.
PLAIN |
If |
UP |
Round up to I + 1. |
DOWN |
Round down to I. |
BANKERS |
If |
TRUNCATE |
Round down to I (same as DOWN). |
Copyright © Rogue Wave Software, Inc. All Rights Reserved.
The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.