BloombergLP::bdldfp::DecimalImpUtil::convertToDecimal32

Convert input to the closest ValueType32 value.

Synopsis

Declared in <bdldfp_decimalimputil.h>

static
DecimalImpUtil::ValueType32
convertToDecimal32(ValueType64 const& input);

Return Value

the closest ValueType32 value

Parameters

NameDescription
inputvalue to convert