Returns the minimum value of three numbers