mean.php
Table of Contents
Functions
- mean() : float
- Computes the arithmetic mean (average) of a list of numbers.
Functions
mean()
Computes the arithmetic mean (average) of a list of numbers.
mean(array<int, int|float> $values) : float
Parameters
- $values : array<int, int|float>
-
A non-empty list of numeric values.
Tags
Return values
float —The arithmetic mean of the values.