For the complete documentation index, see llms.txt. This page is also available as Markdown.

$sum

Computes the sum of the values.

This function has multiple signatures

{{$sum array [format]}}

Computes the sum of numbers in an array.

Arguments

Name
Description
Type
Required

array

List of numbers to sum.

Number Array

format

Format string used to format the result

String

Example

{{$sum hours_worked}}

Returns

Returns the total.

Last updated

Was this helpful?