mean Tcl Command

NAME

mean - compute the arithmetic mean

SYNOPSIS

dmh::mean number_list

DESCRIPTION

This command averages a list of numeric values. An empty string is returned if there are no values. The result is always formatted as a floating point value. The global variable, tcl_precision, discussed under tclvars, sets the precision of the result.

mean "12 19 15 14"
15.0

AUTHOR

Ed Hume, Hume Integration Software

SEE ALSO

rangestddev

KEYWORDS

mean, range, statistics