Page 198 of 346 Start Back Next End ZBasic System Library 186 ZBasic Microcontrollers Min Type Function (see discussion for the return type) Invocation Min(val1, val2) Parameter Method Type Description val1 ByVal numeric One of two values of which the smallest is desired. val2 ByVal numeric One of two values of which the smallest is desired. Discussion This function returns the smaller of the two supplied values, both of which must be of the same type. If the supplied values are signed, the determination of which is smallest takes the sign of the values into account. The return value is the same type as the parameters. Compatibility This function is not available in BasicX compatibility mode. See Also Max