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