Difference between revisions of "Template:Max/doc"
Jump to navigation
Jump to search
(Created page with "Returns the larger value from its 2 positional parameter. {{subst:Documentation/Example Table|{{Max|1|2}}|{{Max|3.5|4.5}}}}") |
|||
Line 6: | Line 6: | ||
! Code !! Result | ! Code !! Result | ||
<tr><td><code><nowiki>{{Max|1|2}}</nowiki></code></td><td>{{Max|1|2}}</td></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><!-- |
− | --> | + | --><!-- |
− | --> | + | --><!-- |
− | -- | + | --><!-- |
− | --> | + | --><!-- |
− | --> | + | --><!-- |
− | --> | + | --><!-- |
− | --> | + | --><!-- |
− | --> | + | --> |
|} | |} |
Revision as of 10:20, 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 |