Topic complex |
Statistical functions |
Function |
mean() |
Short |
Returns the arithmetical average of an expression for a database analyse |
Syntax |
MEAN(numerischer_Ausdruck) |
Parameter |
numeric_expression: any expression with direct field accesses. |
Return |
Sum of the single calculations of the numeric expression for every record of the analyse. |
See also: |
|
Description |
Example:
VAR mean_income : REAL
...
FINDANDMARK(db,'income<>0','mean_income:=MEAN(income)')
After executing the function mean_income has the average of all income specifications.
|