Return the closest float representation of this number.
Synopsis
Declared in <bdljsn_json.h>
float
asFloat() const;
Description
Return the closest floating point representation to the value of the type JsonNumber held by this object. If this number is outside the representable range, return +INF or ‐INF (as appropriate). The behavior is undefined unless isNumber() returns true.
Return Value
closest float representation of this number
Created with MrDocs