Click or drag to resize

NumericExtensions Class

Defines extension functions related to numbers.
Inheritance Hierarchy
System.Object
  GSF.NumericExtensions

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
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 MethodNotEqualTo<T>Ensures test parameter passed to function is not equal to the specified value.
Public Extension MethodNotGreaterThan<T>(T, T)Ensures test parameter passed to function is not greater than the specified value.
Public Extension MethodNotGreaterThan<T>(T, T, T)Ensures test parameter passed to function is not greater than the specified value.
Public Extension MethodNotGreaterThanOrEqualTo<T>Ensures test parameter passed to function is not greater than or equal to the specified value.
Public Extension MethodNotLessThan<T>(T, T)Ensures test parameter passed to function is not less than the specified value.
Public Extension MethodNotLessThan<T>(T, T, T)Ensures test parameter passed to function is not less than the specified value.
Public Extension MethodNotLessThanOrEqualTo<T>Ensures test parameter passed to function is not less than or equal to the specified value.
Public Extension MethodNotZero<T>(T)Ensures parameter passed to function is not zero. Returns -1 if source is zero.
Public Extension MethodNotZero<T>(T, T)Ensures parameter passed to function is not zero.
Top
See Also

Reference

GSF Namespace