Name

min()

Examples
d = min(5, 9)  # Sets 'd' to 5
e = min(-4, -12)  # Sets 'e' to -12
f = min(12.3, 230.24)  # Sets 'f' to 12.3
values = 5, 1, 2, -3  # Create an array of ints
h = min(values)  # Sets 'h' to -3
Description
Syntax
min(a, b)
min(a, b, c)
min(list)
Parameters
a
b
c
list
Related max()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License