BigInteger.CompareTo Method (Double)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Compares a big integer to a double.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Public Function CompareTo ( _
    dbl As Double _
) As Integer
public int CompareTo(
    double dbl
)
public:
virtual int CompareTo(
    double dbl
) sealed
abstract CompareTo : 
        dbl:float -> int 
override CompareTo : 
        dbl:float -> int 
public final function CompareTo(
    dbl : double
) : int

Parameters

Return Value

Type: System.Int32
A signed integer that indicates how the big integer compares to a double.

Return value

Description

Less than zero

The big integer is less than a double.

Zero

The big integer is equal to a double.

Greater than zero

The big integer is greater than a double.

Implements

IComparable<T>.CompareTo(T)

.NET Framework Security

See Also

Reference

BigInteger Structure

CompareTo Overload

Microsoft.SolverFoundation.Common Namespace