[#BloombergLP-bdljsn-JsonNumber-isEqual]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber]::isEqual
:relfileprefix: ../../../
:mrdocs:

Return `true` if this number and the specified `other` number represent the same numeric value, and `false` otherwise&period; This method will return `true` for differing representations of the same number (e&period;g&period;, `1&period;0`, &quot;1&quot;, &quot;0&period;1e&plus;1&quot; are all equivalent) _except_ in cases where the exponent cannot be represented by a 64&hyphen;bit integer&period; If the exponent is outside the range of a 64&hyphen;bit integer, `true` will be returned if `&ast;this &equals;&equals; other`&period; For example, comparing &quot;1e18446744073709551615&quot; with itself will return `true`, but comparing it to &quot;10e18446744073709551614&quot; will return `false`&period; Note that this method is more computationally expensive than the equality and inequality operators&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isEqual(xref:BloombergLP/bdljsn/JsonNumber.adoc[JsonNumber] const& other) const;
----


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