[#arith_uint256-CompareTo]
= xref:arith_uint256.adoc[arith&lowbar;uint256]::CompareTo
:relfileprefix: ../
:mrdocs:

Numeric ordering, treating the value as an unsigned integer rather than a byte blob&period;

== Synopsis

Declared in `&lt;arith&lowbar;uint256&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
CompareTo(xref:base_uint-02.adoc[base&lowbar;uint&lt;256&gt;] const& b) const;
----

== Return Value

A negative number, zero, or a positive number if this value is less than, equal to, or greater than `b&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| The value to compare against&period;
|===


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