[#BloombergLP-bdljsn-Json-asDecimal64Exact]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Json.adoc[Json]::asDecimal64Exact
:relfileprefix: ../../../
:mrdocs:

Load the specified `result` with the closest floating point representation to the value of type `JsonNumber` held by this object, even if a non&hyphen;zero status is returned&period; Return 0 if this number can be represented exactly, and return `JsonNumber&colon;&colon;k&lowbar;INEXACT` if `value` cannot be represented exactly&period; If this number is outside the representable range, load `result` with &plus;INF or &hyphen;INF (as appropriate)&period; A number can be represented exactly as a `Decimal64` if, for the significand and exponent, `abs(significand) &lt;&equals; 9,999,999,999,999,999` and `&hyphen;398 &lt;&equals; exponent &lt;&equals; 369`&period; The behavior is undefined unless `isNumber()` returns `true`&semi;

== Synopsis

Declared in `&lt;bdljsn&lowbar;json&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
asDecimal64Exact(xref:BloombergLP/bdldfp/Decimal64.adoc[bdldfp::Decimal64]* result) const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
