共用方式為


FloatMath.Ceil(Single) Method

Definition

Returns the float conversion of the most negative (i.

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

Parameters

value
Single

to be converted

Returns

the ceiling of value

Attributes

Remarks

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

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