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 values smaller than the smallest representable non‐zero value (a.k.a, MIN) are rounded to MIN (positive or negative, as appropriate) or 0, whichever is the better approximation.

Synopsis

Declared in <bdljsn_jsonnumber.h>

float
asFloat() const;

Created with MrDocs