Skip to content

BigNumber.CompareTo Method

Definition

Namespace: Corvus.Numerics
Assembly: Corvus.Text.Json.dll

Overloads

Method Description
CompareTo(BigNumber) Compares this instance with another BigNumber value.
CompareTo(object) Compares this instance with a specified object.

CompareTo(BigNumber)

Source: BigNumber.cs

Compares this instance with another BigNumber value.

public int CompareTo(BigNumber other)

Parameters

Name Type Description
other BigNumber The BigNumber to compare with this instance.

Returns

int

A value that indicates the relative order of the values being compared.

Implements

IComparable<BigNumber>.CompareTo

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

CompareTo(object)

Source: BigNumber.cs

Compares this instance with a specified object.

public int CompareTo(object obj)

Parameters

Name Type Description
obj object The object to compare with this instance.

Returns

int

A value that indicates the relative order of the values being compared.

Implements

IComparable.CompareTo

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue