Create a Decimal128 closest to binary floating‐point value.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType128
binaryToDecimal128(double value);

Return Value

a Decimal128 closest to binary floating‐point value

Parameters

Name

Description

value

binary floating‐point value to convert

Created with MrDocs