Click or drag to resize

DimensionfulQuantityCompareTo(DimensionfulQuantity) Method

Compares this quanitity to another quantity.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public int CompareTo(
	DimensionfulQuantity other
)

Parameters

other  DimensionfulQuantity
The other quantity to compare with.

Return Value

Int32
The value is 1, if this quantity is greater than the other quantity; 0 if both quantities are equal, and -1 if this quantity is less than the other quantity.

Implements

IComparableTCompareTo(T)
See Also