Send feedback on this topic.
Teradata.Client.Provider
CompareTo(TdNumber) Method



Teradata.Client.Provider Namespace > TdNumber Structure > CompareTo Method : CompareTo(TdNumber) Method
The TdNumber to compare against.
Compares this instance to the specified TdNumber other.
Syntax
'Declaration
 
Public Overloads Function CompareTo( _
   ByVal other As TdNumber _
) As Integer
'Usage
 
Dim instance As TdNumber
Dim other As TdNumber
Dim value As Integer
 
value = instance.CompareTo(other)
public int CompareTo( 
   TdNumber other
)
public:
int CompareTo( 
   TdNumber other
) 

Parameters

other
The TdNumber to compare against.

Return Value

A signed number indicating how this instance compares to other.

Return Value Meaning
Less than Zero

This instance is less than other.

-or-

This instance is TdNumber.Null.

Zero

This instance is equal to other.

-or-

This instance is Null and value is Null.

Greater than Zero

This instance is greater than other.

-or-

other is Null.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdNumber Structure
TdNumber Members
Overload List