Skip to content

bmel:avg

Category: Array & Statistics · Returns: bmel:number

bmel:avg(array: bmel:array<number>)

Description

Returns the arithmetic mean of all numeric values in an array.

Arguments

Parameter Type Required Description
array bmel:array<number> The array of numeric values to average.

Example

bmel:avg({batch:Response Payload}.$.latencies)

Back to BMEL Reference