Bridge

Decimal..::..CompareTo Method (Decimal)

Compares this instance to a specified Decimal object and returns a comparison of their relative values.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public int CompareTo(
	decimal other
)
<TemplateAttribute> _
Public Function CompareTo ( _
	other As Decimal _
) As Integer
[TemplateAttribute]
public:
int^ CompareTo(
	Decimal^ other
)

Parameters

other
Type: System..::..Decimal

Return Value

A signed number indicating the relative values of this instance and value.Return value Meaning Less than zero This instance is less than value. Zero This instance is equal to value. Greater than zero This instance is greater than value.