Difference between revisions of "Template:Min"
Jump to navigation
Jump to search
(Created page with "{{#ifexpr:{{{1}}}<{{{2}}}|{{{1}}}|{{{2}}}}}") |
|||
Line 1: | Line 1: | ||
− | {{#ifexpr:{{{1}}}<{{{2}}}|{{{1}}}|{{{2}}}}} | + | <includeonly>{{#ifexpr:{{{1}}}<{{{2}}}|{{{1}}}|{{{2}}}}}</includeonly><noinclude> |
+ | {{Documentation}} | ||
+ | </noinclude> |
Latest revision as of 08:11, 26 December 2024
Returns the smaller value from its 2 positional parameter.
Code | Result |
---|---|
{{Min|1|2}} | 1 |
{{Min|3.5|4.5}} | 3.5 |
The above documentation is transcluded from Template:Min/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |