Share via


Min Method (Double, Double)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns the smaller of two double-precision floating-point numbers.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Shared Function Min ( _
    x As Double, _
    y As Double _
) As Double
public static double Min(
    double x,
    double y
)
public:
static double Min(
    double x, 
    double y
)
static member Min : 
        x:float * 
        y:float -> float 
public static function Min(
    x : double, 
    y : double
) : double

Parameters

Return Value

Type: System. . :: . .Double
Parameter x or y, whichever is smaller. If x, y, or both x and y are equal to NaN, NaN is returned.

.NET Framework Security

See Also

Reference

Math Class

Min Overload

System Namespace