Class NumericExtensions
Provides Numeric alternatives for common number-type extensions
public static class NumericExtensions
- Inheritance
-
objectNumericExtensions
Methods
Subtract(IEnumerable<Numeric>)
Subtracts the numerics in the provided collection
public static Numeric Subtract(this IEnumerable<Numeric> source)
Parameters
sourceIEnumerable<Numeric>
Returns
- Numeric
The remainder of all numerics subtracted from one another in the collection
Exceptions
Sum(IEnumerable<Numeric>)
Sums the numerics in the provided collection
public static Numeric Sum(this IEnumerable<Numeric> source)
Parameters
sourceIEnumerable<Numeric>
Returns
- Numeric
The sum of all numerics in the collection