BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimalToDouble

decimalToDouble overloads

Synopses

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

Same as the related overload above for decimalToDouble.

static
double
decimalToDouble(Decimal128 decimal);
» more...

Return a double closest to the value of the specified decimal.

static
double
decimalToDouble(Decimal32 decimal);
» more...

Same as the related overload above for decimalToDouble.

static
double
decimalToDouble(Decimal64 decimal);
» more...

Return Value

closest double representation of decimal

Parameters

NameDescription
decimalvalue to convert