Return the closest Decimal64 representation of this number.
Synopsis
Declared in <bdljsn_json.h>
bdldfp::Decimal64
asDecimal64() 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 Decimal64 representation of this number
Created with MrDocs