MIN

m = MIN (var1 [, var2, …, varN])

Returns the minimum value of the given parameters var1 to varN. Parameters can be numbers, arrays or strings.

Example

print MIN(3, 4, 8)                  ' Output: 3
print MIN("abc","def")              ' Output: abc
x = [-1, 5, 8]
print MIN(x)                        ' Output: -1
print MIN(x, 2, -9)                 ' Output: -9
Math
If there is insufficient information on this page and you wish learn more about MIN, please send an email to smallbasic@gmail.com. You can help to improve information about MIN by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.