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)

public static double Min(
	double x,
	double y
)

Parameters

x
Type: System..::..Double
The first of two double-precision floating-point numbers to compare.
y
Type: System..::..Double
The second of two double-precision floating-point numbers to compare.

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.

Show: