Table of Contents

Class NumericExtensions

Namespace
Artemis.Core
Assembly
Artemis.Core.dll

Provides Numeric alternatives for common number-type extensions

public static class NumericExtensions
Inheritance
object
NumericExtensions

Methods

Subtract(IEnumerable<Numeric>)

Subtracts the numerics in the provided collection

public static Numeric Subtract(this IEnumerable<Numeric> source)

Parameters

source IEnumerable<Numeric>

Returns

Numeric

The remainder of all numerics subtracted from one another in the collection

Exceptions

ArgumentNullException

Sum(IEnumerable<Numeric>)

Sums the numerics in the provided collection

public static Numeric Sum(this IEnumerable<Numeric> source)

Parameters

source IEnumerable<Numeric>

Returns

Numeric

The sum of all numerics in the collection

Exceptions

ArgumentNullException