Jump to content

Template:Max: Difference between revisions

From IdeaWazaWiki
wikademia>Verdy p
mNo edit summary
wikademia>Verdy p
mNo edit summary
Line 27: Line 27:
[[Category:Templates using ParserFunctions]]
[[Category:Templates using ParserFunctions]]
[[Category:Mathematical templates]]
[[Category:Mathematical templates]]
<!--
      | {{max|{{{3}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}}}
-->
</noinclude>
</noinclude>
      | {{max|{{{3}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}|{{{10|}}}|{{{11|}}}|{{{12|}}}|{{{13|}}}|{{{14|}}}|{{{15|}}}|{{{16|}}}}}

Revision as of 15:26, 24 April 2006

Evaluates and returns the maximum of a list of numeric expressions (with up to 16 parameters).

Syntax:
Examples:
{{max}} = "".
{{max|}} = "".
{{max|-7}} = "-7".
{{max|-7|}} = "-7".
{{max|-7|5}} = "5".
{{max|-7|5|}} = "5".
{{max|-7|5|8}} = "Expression error: Unexpected < operator.".
{{max|-7|5|8|-32|29|14|1}} = "Expression error: Unexpected < operator.".
{{max|40*41|300+30}} = "1640".
{{max|100+10|300+30|200+20}} = "Expression error: Unexpected < operator.".