-
-
Notifications
You must be signed in to change notification settings - Fork 18
max
drewmccluskey edited this page Jan 9, 2019
·
6 revisions
This function returns the highest value from a list of inputs.
max(item1, item2..)
Argument | Description |
---|---|
T item1 |
One of the numbers to search for highest value |
T item2 |
another of the numbers to search for highest value |
Returns: T
This function will return the highest value from a list of inputs.
var maxValue = max(5, 33, 40, 99, 10); //return 99
This code will set var maxValue to the highest value in array1, of course it will return 99.
Back to number_functions