Liquid XML Data Binder 2019
Sum(IEnumerable<BigDecimal>) Method

LiquidTechnologies.XmlObjects Namespace > LxLinqExtensions Class > Sum Method : Sum(IEnumerable<BigDecimal>) Method
A sequence of BigDecimal values to calculate the sum of.
Computes the sum of a sequence of BigDecimal values.
Syntax
'Declaration
 
Public Overloads Shared Function Sum( _
   ByVal source As System.Collections.Generic.IEnumerable(Of BigDecimal) _
) As BigDecimal
public static BigDecimal Sum( 
   System.Collections.Generic.IEnumerable<BigDecimal> source
)

Parameters

source
A sequence of BigDecimal values to calculate the sum of.

Return Value

The sum of the values in the sequence.
Exceptions
ExceptionDescription
source is null
Requirements

Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

See Also

Reference

LxLinqExtensions Class
LxLinqExtensions Members
Overload List