Template:Max27/doc

From blackwiki
< Template:Max27
Revision as of 07:39, 24 August 2012 by imported>Mr. Stradivarius (Add see also link)
Jump to navigation Jump to search

This template returns the maximum numerical value contained in the parameters given. It can accept up to 27 parameters. It is based on {{max}}.

Usage

Syntax
{{max27 | value1 | value2 | value3 }}
Examples
{{max27}}
{{max27|}}
{{max27|-7}} → -7
{{max27|-7|}} → -7
{{max27|-7|5}} → 5
{{max27|-7|5|}} → 5
{{max27|-7|5|8}} → 8
{{max27|40*41|300+30}} → 1640
{{max27|100+10|300+30|200+20}} → 330
{{max27|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27}} → 27
{{max27|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28}} → 28

See also

  • {{min}} - for minimum values