Create a Decimal128 closest to binary floating-point value.
Declared in <bdldfp_decimalimputil.h>
Create a Decimal128 closest to binary floating-point value.
static
DecimalImpUtil::ValueType128
binaryToDecimal128(double value);
» more...
Create a Decimal128 closest to binary floating-point value.
static
DecimalImpUtil::ValueType128
binaryToDecimal128(float value);
» more...
a Decimal128 closest to binary floating-point value
| Name | Description |
|---|---|
| value | binary floating-point value to convert |