Name

Min Function — System.Math

Synopsis

Math.Min(val1, val2)
val1, val2 required; any numeric

A numeric data type or expression

Return Value

Returns the minimum of val1 and val2 in the wider data type of the two numbers

Description

Returns the minimum of two numbers.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.