Our website uses cookies to give you the best and most relevant experience. By clicking on accept, you give your consent to the use of cookies as per our privacy policy.AcceptDeny

Min

min( a, b )

Return the smaller value of a or b.

Description

min( a, b )

This function returns the smaller of the two values, a or b.

Parameters

a Any value
b Any value

Return value

If a>=b, returns the value b If a<b, returns the value a

Example usage

max(3, -4)

Returns -4.