Template:Max/doc

From Starlight River Mod Wiki
Jump to navigation Jump to search

Returns the greatest of any number of input numbers. Invalid inputs (e.g. strings) and empty inputs are ignored.

Usage

{{ max | <number 1> | <number 2> | ... | <number n> }}

Examples

Code Result
{{max|1|3|2}} 3
{{max|-74364||0|-5}} 0
{{max|1|1}} 1
{{max|10|fifty|20}} 20
{{max}}

See also