User Tools

Site Tools


syntax:functions:max

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
syntax:functions:max [2021/07/31 22:06] craigtsyntax:functions:max [2021/08/11 15:25] (current) – [Examples] craigt
Line 21: Line 21:
 =====Examples===== =====Examples=====
  
-  max(10, 20) 20 +  max(10, 20) //Returns 20 
-  max(171, 238) 238 + 
-  max(1, -1) +  max(171, 238) //Returns 238 
-  max(max(8,4),12) = 12  //Returns the max of the 3 values 8, 4, and 12. + 
-  max(max(10, 40), max(25, 75)) = 75  //Returns the max of the 4 values 10, 40, 25, and 75.+  max(1, -1) //Returns 1 
 + 
 +  max(max(8,4),12) //Returns 12  (Returns the max of the 3 values 8, 4, and 12.
 + 
 +  max(max(10, 40), max(25, 75)) //Returns 75  (Returns the max of the 4 values 10, 40, 25, and 75.)
  
 \\  \\ 
 ===== See also ===== ===== See also =====
   * [[syntax:functions:min|Min(number1, number2)]]   * [[syntax:functions:min|Min(number1, number2)]]
syntax/functions/max.txt · Last modified: 2021/08/11 15:25 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki