avg

Overview

Returns the average value of given arguments.

avg
any avg(nodes)

Arguments

node-set nodes

Nodes to evaluate

Return Value

The average value of nodes

Remarks

This method tries to convert nodes to a number before the comparison.

Examples

avg(List/Values) -> 3.4


See Also


Copyright © 2010 - 2023 Emakin. All rights reserved.