Computes the average of all values in an array.
{{$mean array [format]}}
array
Array of numbers.
format
Format string used to format the result
Returns the average value.
Example
{{$mean scores}}
{ "scores": [ 3, 22, 9, 15 ] }
12.25
Last updated 4 months ago
Was this helpful?