BloombergLP::bdldfp::DecimalConvertUtil::decimalToFloat

decimalToFloat overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the related overload above for decimalToFloat.

static
float
decimalToFloat(Decimal128 decimal);
» more...

Return a float object having the value closest to the value of the specified decimal object following the conversion rules defined by IEEE-754:

static
float
decimalToFloat(Decimal32 decimal);
» more...

Same as the related overload above for decimalToFloat.

static
float
decimalToFloat(Decimal64 decimal);
» more...