Difference between revisions of "Template:Max"

From blackwiki
Jump to navigation Jump to search
imported>Verdy p
m (add documentation banner)
imported>Verdy p
m
Line 12: Line 12:
 
: <tt><nowiki>{{max|40*41|300+30}}</nowiki></tt> = "{{max|40*41|300+30}}".
 
: <tt><nowiki>{{max|40*41|300+30}}</nowiki></tt> = "{{max|40*41|300+30}}".
 
: <tt><nowiki>{{max|100+10|300+30|200+20}}</nowiki></tt> = "{{max|100+10|300+30|200+20}}".
 
: <tt><nowiki>{{max|100+10|300+30|200+20}}</nowiki></tt> = "{{max|100+10|300+30|200+20}}".
 
+
; See also<nowiki>:</nowiki>
 +
* [[Template:Min]]
 
[[Category:Templates using ParserFunctions]]
 
[[Category:Templates using ParserFunctions]]
 
[[Category:Mathematical templates]]
 
[[Category:Mathematical templates]]
 
</noinclude>
 
</noinclude>

Revision as of 15:42, 24 April 2006

Template:Template documentation Evaluates and returns the maximum of a list of numeric expressions (with up to 3 parameters).

Syntax:
Examples:
{{max}} = "".
{{max|}} = "".
{{max|-7}} = "-7".
{{max|-7|}} = "-7".
{{max|-7|5}} = "5".
{{max|-7|5|}} = "5".
{{max|-7|5|8}} = "8".
{{max|40*41|300+30}} = "1640".
{{max|100+10|300+30|200+20}} = "330".
See also: