Click or drag to resize

NumericExtensions Class

Defines extension functions related to numbers.
Inheritance Hierarchy
SystemObject
  GSFNumericExtensions

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax
public static class NumericExtensions
View Source

The NumericExtensions type exposes the following members.

Methods
 NameDescription
Public Extension MethodNormalize Removes trailing zeros from the given decimal value.
Public Extension MethodNotEqualToTEnsures test parameter passed to function is not equal to the specified value.
Public Extension MethodNotGreaterThanT(T, T)Ensures test parameter passed to function is not greater than the specified value.
Public Extension MethodNotGreaterThanT(T, T, T)Ensures test parameter passed to function is not greater than the specified value.
Public Extension MethodNotGreaterThanOrEqualToTEnsures test parameter passed to function is not greater than or equal to the specified value.
Public Extension MethodNotLessThanT(T, T)Ensures test parameter passed to function is not less than the specified value.
Public Extension MethodNotLessThanT(T, T, T)Ensures test parameter passed to function is not less than the specified value.
Public Extension MethodNotLessThanOrEqualToTEnsures test parameter passed to function is not less than or equal to the specified value.
Public Extension MethodNotZeroT(T)Ensures parameter passed to function is not zero. Returns -1 if source is zero.
Public Extension MethodNotZeroT(T, T)Ensures parameter passed to function is not zero.
Top
See Also

Reference

GSF Namespace