Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > MEAN

 

 

Purpose

MEAN determines the mean (average) of a series of numbers by totaling all of the numeric operands and dividing the sum by the number of operands specified.
 

Syntax

variable =MEAN(operand1, operand2, . . . operandn)
 

Operation

operand1 . . . operandn are valid numeric constants, variables, or expressions, separated by commas.
 

Example

Assume

#A = 4,  

#B = 12,

#C = 10,

#D = 16,

#E = 32,

and

#F = 22.

#I = MEAN (#A, #B, #C, #D, #E, #F) sets #I to 16
 

Comment on this topic

Topic ID: 520090