Sdílet prostřednictvím


FloatMath.Floor(Single) Method

Definition

Returns the float conversion of the most positive (i.

[Android.Runtime.Register("floor", "(F)F", "")]
public static float Floor (float value);
[<Android.Runtime.Register("floor", "(F)F", "")>]
static member Floor : single -> single

Parameters

value
Single

to be converted

Returns

the floor of value

Attributes

Remarks

Returns the float conversion of the most positive (i.e. closest to positive infinity) integer value which is less than the argument.

Java documentation for android.util.FloatMath.floor(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