BloombergLP::bdljsn::JsonNumber::operator float

Return the closest floating point representation to this number. If this number is outside the representable range, return +INF or -INF (as appropriate). Note that the values returned by these operators match those returned by asFloat, asDouble, and asDecimal64, respectively.

Synopsis

Declared in <bdljsn_jsonnumber.h>

explicit
operator float() const;