Difference between revisions of "Template:Max/doc"

From RimWorld Wiki
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.
  
{| class="wikitable"
+
{{{{{|safesubst:}}}Documentation/Example Table|{{Max|1|2}}|{{Max|4.5|3.5}}}}
|+ Examples
 
|-
 
! Code !! Result
 
<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:23, 26 December 2024

Returns the larger value from its 2 positional parameter.

CodeResult
<nowiki>2</nowiki>2
<nowiki>4.5</nowiki>4.5