decimalToDouble overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

static
double
decimalToDouble(Decimal128 decimal);

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

static
double
decimalToDouble(Decimal32 decimal);

Same as the related overload above for decimalToDouble.

static
double
decimalToDouble(Decimal64 decimal);

Created with MrDocs