BloombergLP::bdldfp::DecimalConvertUtil_IntelDfp::decimal128ToFloat

Return a float having the value closest to the specified decimal.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

static
float
decimal128ToFloat(Decimal128 decimal);

Return Value

closest float representation of decimal

Parameters

NameDescription
decimalvalue to convert