Difference between revisions of "Template:Average/doc"
Jump to navigation
Jump to search
imported>Primefac (update - already a module that exists) |
imported>Primefac (→Examples: better format) |
||
| Line 6: | Line 6: | ||
==Examples== | ==Examples== | ||
| − | {{Average|10|20|30|40|100000000}} | + | <nowiki>{{Average|10|20|30|40|100000000}}</nowiki> → {{Average|10|20|30|40|100000000}} |
| − | + | <nowiki>{{Average|10|20|30|40|50|100000000}}</nowiki> → {{Average|10|20|30|40|50|100000000}} | |
| − | |||
| − | {{Average|10|20|30|40|50|100000000}} | ||
==See also== | ==See also== | ||
*{{tl|Median}} | *{{tl|Median}} | ||
Revision as of 21:42, 30 September 2018
| This template uses Lua: |
This template is used to find the average (default mean) of a series of numbers.
Parameters
Parameters with a number as the value are the numbers to find the average of.
Examples
{{Average|10|20|30|40|100000000}} → 20000020
{{Average|10|20|30|40|50|100000000}} → 16666691.666667
See also
- {{Median}}