decimalToDouble overloads

Synopses

Declared in <bdldfp_decimalconvertutil.h>

Same as the overload taking Decimal32.

static
double
decimalToDouble(Decimal128 decimal);

Return a double closest to the specified decimal.

static
double
decimalToDouble(Decimal32 decimal);

Same as the overload taking Decimal32.

static
double
decimalToDouble(Decimal64 decimal);

Return Value

closest double representation of decimal

Parameters

Name

Description

decimal

value to convert

Created with MrDocs