Returns the larger of two numbers.
nLarger = Max (n1, n2)
Variable | Description |
---|---|
nLarger | The larger number. NUMBER. |
n1 | The first number to compare. NUMBER. |
n2 | The second number to compare. NUMBER. |
Max compares two numbers and returns whichever of them is larger.
Print (Max (80.9, 78)) // prints: 80.9