macros:Functions:mean: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: ==Function mean== Returns the average(mean) of the numbers that are passed in. ===Usage=== <source lang="mtmacro" line> [h: av = avg(num, num, ...)] [h: av = avgera...)
 
(Redirecting to average)
Line 1: Line 1:
==Function mean==
#REDIRECT [[average]]
Returns the [[wP:Arithmetic_mean|average(mean)]] of the numbers that are passed in.
 
===Usage===
<source lang="mtmacro" line>
[h: av = avg(num, num, ...)]
[h: av = avgerage(num, num, ...)]
[h: av = mean(num, num, ...)]
</source>
 
 
 
===Examples===
<source lang="mtmacro" line>
    [r: avg(1, 2, 3, 3, 10)]
</source>
Returns
    3.8

Revision as of 23:02, 6 March 2009

Redirect to: