![]() HydraExpress™ C++ 2020 |
HydraExpress™ C++ API Reference Guide |
Product Documentation: HydraExpress C++ Documentation Home |
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.
| Enumerator | |
|---|---|
| PLAIN |
If |
| UP |
Round up to I + 1. |
| DOWN |
Round down to I. |
| BANKERS |
If |
| TRUNCATE |
Round down to I (same as DOWN). |
|
Copyright © 2020 Rogue Wave Software, Inc. All Rights Reserved. |