Udostępnij za pośrednictwem


Float.Min(Single, Single) Method

Definition

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

[Android.Runtime.Register("min", "(FF)F", "", ApiSince=24)]
public static float Min (float a, float b);
[<Android.Runtime.Register("min", "(FF)F", "", ApiSince=24)>]
static member Min : single * single -> single

Parameters

a
Single

the first operand

b
Single

the second operand

Returns

the smaller of a and b

Attributes

Remarks

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

Added in 1.8.

Java documentation for java.lang.Float.min(float, float).

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