Skip to content
drewmccluskey edited this page Jan 9, 2019 · 3 revisions

min

This function returns the lowest value from a list of inputs.

Syntax:

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

Description:

This function will find the lowest value from a list of inputs.

Example:

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

Clone this wiki locally