Numeric Class

Numeric class

Provides the base class for numeric types.

public abstract class Numeric : Unit

Properties

NameDescription
UnitType { get; }Gets the unit type of the Unit.

Methods

NameDescription
CompareTo(Numeric)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
override Equals(object)Determines whether the specified Object, is equal to this instance.
override Equals(Unit)Determines whether the specified Unit, is equal to this instance.
override GetHashCode()Returns a hash code for this instance.
GetValue()Gets the unit value.
GetValue(UnitType)Gets the value converted to the specified UnitType.
override ToString()Returns a String that represents this instance.

See Also