-
-
Notifications
You must be signed in to change notification settings - Fork 18
min
drewmccluskey edited this page Jan 9, 2019
·
3 revisions
This function returns the lowest value from a list of inputs.
min(item1, item2..)
Argument | Description |
---|---|
T item1 |
One of the numbers to search for lowest value |
T item2 |
Another of the numbers to search for lowest value |
Returns: T
This function will find the lowest value from a list of inputs.
var smallestNumber = min(5, 33, 40, 99, 10); //return 5
This code will set variable smallestNumber to 5 as it is the lowest value of the input list.
Back to number_functions