Click or drag to resize

SIUnitEquals(SIUnit) Method

Compares this unit with another unit other and returns true when both are equal. Two SI units are considered equal if the exponents are equal, independently of the unit name. This means e.g. that J (Joule), Nm, and Ws are considered equal. If you want to compare the name too, use Equals(IUnit)

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public bool Equals(
	SIUnit? other
)

Parameters

other  SIUnit
The other unit.

Return Value

Boolean
True when both units are equal.

Implements

IEquatableTEquals(T)
See Also