One of the following data types: Byte, Decimal, Double, Integer, Long, SByte, Single, Short, UInteger, ULong, or UShort
val1, val2(required; expressions of typetype)
Two valid numbers to be compared
Description
The Min function returns the minimum of val1 and val2.
Usage at a Glance
If Option Strict is Off and the two values have different numeric data types, the narrower data type is automatically converted to the wider data type before use in the function.
This is a shared member of the System.Math class, so it can be used without an instance.