BloombergLP::bdldfp::DecimalImpUtil::convertToDecimal64

Convert input to the closest ValueType64 value.

Synopses

Declared in <bdldfp_decimalimputil.h>

Convert input to the closest ValueType64 value.

static
DecimalImpUtil::ValueType64
convertToDecimal64(ValueType128 const& input);
» more...

Convert input to the closest ValueType64 value.

static
DecimalImpUtil::ValueType64
convertToDecimal64(ValueType32 const& input);
» more...

Return Value

the closest ValueType64 value

Parameters

NameDescription
inputvalue to convert