Share via


Double.Min(Double, Double) Method

Definition

Returns the smaller of two double values as if by calling Math#min(double, double) Math.min.

[Android.Runtime.Register("min", "(DD)D", "", ApiSince=24)]
public static double Min (double a, double b);
[<Android.Runtime.Register("min", "(DD)D", "", ApiSince=24)>]
static member Min : double * double -> double

Parameters

a
Double

the first operand

b
Double

the second operand

Returns

the smaller of a and b.

Attributes

Remarks

Returns the smaller of two double values as if by calling Math#min(double, double) Math.min.

Added in 1.8.

Java documentation for java.lang.Double.min(double, double).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to