Difference between revisions of "Template:Average/doc"

From blackwiki
Jump to navigation Jump to search
imported>BrandonXLF
imported>BrandonXLF
Line 7: Line 7:
 
{{para|type}} is the type (set to median to output median)
 
{{para|type}} is the type (set to median to output median)
 
==Examples==
 
==Examples==
{{Average|10|20|30|40|10000000000000000}} (<nowiki>{{Average|10|20|30|40|10000000000000000}}</nowiki>)
+
{{Average|10|20|30|40|100000000}} (<nowiki>{{Average|10|20|30|40|100000000}}</nowiki>)
  
{{Average|type=median|10|20|30|40|10000000000000000}} (<nowiki>{{Average|type=median|10|20|30|40|10000000000000000}}</nowiki>)
+
{{Average|type=median|10|20|30|40|100000000}} (<nowiki>{{Average|type=median|10|20|30|40|100000000}}</nowiki>)
  
{{Average|type=median|10|20|30|40|50|10000000000000000}} (<nowiki>{{Average|type=median|10|20|30|40|50|10000000000000000}}</nowiki>)
+
{{Average|type=median|10|20|30|40|50|100000000}} (<nowiki>{{Average|type=median|10|20|30|40|50|100000000}}</nowiki>)
  
 
==See also==
 
==See also==
 
*{{tl|Median}}
 
*{{tl|Median}}
 
*[[Module:Average]]
 
*[[Module:Average]]

Revision as of 15:23, 30 September 2018

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.

|type= is the type (set to median to output median)

Examples

20000020 ({{Average|10|20|30|40|100000000}})

20000020 ({{Average|type=median|10|20|30|40|100000000}})

16666691.666667 ({{Average|type=median|10|20|30|40|50|100000000}})

See also