Difference between revisions of "Template:Max/doc"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
Returns the larger value from its 2 positional parameter. | Returns the larger value from its 2 positional parameter. | ||
− | {{{{{| | + | <!--The following line is generated by substitution: {{subst:Template:Documentation/Example Table|{{Max|1|2}}|{{Max|4.5|3.5}}}}--> |
+ | <table class="wikitable"><tr><th>Code</th><th>Result</th></tr><tr><td><code><nowiki>{{Max|1|2}}</nowiki></code></td><td>{{Max|1|2}}</td></tr><tr><td><code><nowiki>{{Max|4.5|3.5}}</nowiki></code></td><td>{{Max|4.5|3.5}}</td></tr></table> |
Latest revision as of 11:02, 26 December 2024
Returns the larger value from its 2 positional parameter.
Code | Result |
---|---|
{{Max|1|2}} | 2 |
{{Max|4.5|3.5}} | 4.5 |