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

Name

Description

decimal

value to convert

Created with MrDocs