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.

Synopsis

Declared in <bdljsn_json.h>

float
asFloat() const;

Created with MrDocs