FloatMath.Floor(Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For a finite value, returns the greatest integer that is less than or equal to the value.
[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
For a finite value, returns the greatest integer that is less than or equal to the value.
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.