Language

FloatMath.Ceil(Single) Method

Definition

For a finite value, returns the least integer that is greater than or equal to the value.

[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

For a finite value, returns the least integer that is greater than or equal to the value.

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