BloombergLP::bdldfp::DecimalImpUtil::convertToDecimal128

Convert input to the closest ValueType128 value.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType128
convertToDecimal128(ValueType64 const& input);

Return Value

the closest ValueType128 value

Parameters

NameDescription
inputvalue to convert