Version

Min(Double,Double) Method

Compares x1 to x2 and returns the smallest one.
Syntax
'Declaration
 
Public Overloads Shared Function Min( _
   ByVal x1 As Double, _
   ByVal x2 As Double _
) As Double
public static double Min( 
   double x1,
   double x2
)

Parameters

x1
The first double.
x2
The second double.

Return Value

x1 if x1 is smaller than x2; x2 otherwise.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also