BloombergLP::bdldfp::DecimalConvertUtil::decimal32ToFloat

Return the float closest to the specified decimal.

Synopsis

Declared in <bdldfp_decimalconvertutil.h>

static
float
decimal32ToFloat(Decimal32 decimal);

Return Value

closest float representation of decimal

Parameters

NameDescription
decimalvalue to convert