Click or drag to resize

NumericExtensions Methods

The NumericExtensions type exposes the following members.

Methods
  Name Description
Public Extension Method Normalize Removes trailing zeros from the given decimal value.
Public Extension Method NotEqualToT Ensures test parameter passed to function is not equal to the specified value.
Public Extension Method NotGreaterThanT(T, T) Ensures test parameter passed to function is not greater than the specified value.
Public Extension Method NotGreaterThanT(T, T, T) Ensures test parameter passed to function is not greater than the specified value.
Public Extension Method NotGreaterThanOrEqualToT Ensures test parameter passed to function is not greater than or equal to the specified value.
Public Extension Method NotLessThanT(T, T) Ensures test parameter passed to function is not less than the specified value.
Public Extension Method NotLessThanT(T, T, T) Ensures test parameter passed to function is not less than the specified value.
Public Extension Method NotLessThanOrEqualToT Ensures test parameter passed to function is not less than or equal to the specified value.
Public Extension Method NotZeroT(T) Ensures parameter passed to function is not zero. Returns -1 if source is zero.
Public Extension Method NotZeroT(T, T) Ensures parameter passed to function is not zero.
Top
See Also