Same as the related overload above for decimalToFloat.

Synopsis

Declared in <bdldfp_decimalconvertutil_inteldfp.h>

static
float
decimalToFloat(Decimal128 decimal);

Return Value

closest float representation of decimal

Parameters

Name

Description

decimal

value to convert

Created with MrDocs