[#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. This method will return `true` for differing representations of the same number (e.g., `1.0`, "1", "0.1e+1" are all equivalent) _except_ in cases where the exponent cannot be represented by a 64‐bit integer. If the exponent is outside the range of a 64‐bit integer, `true` will be returned if `*this == other`. For example, comparing "1e18446744073709551615" with itself will return `true`, but comparing it to "10e18446744073709551614" will return `false`. Note that this method is more computationally expensive than the equality and inequality operators. == Synopsis Declared in `<bdljsn_jsonnumber.h>` [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]#