StrictMath.Floor(Double) 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.
Returns the largest (closest to positive infinity)
double
value that is less than or equal to the
argument and is equal to a mathematical integer.
[Android.Runtime.Register("floor", "(D)D", "")]
public static double Floor (double a);
[<Android.Runtime.Register("floor", "(D)D", "")>]
static member Floor : double -> double
Parameters
- a
- Double
a value.
Returns
the largest (closest to positive infinity) floating-point value that less than or equal to the argument and is equal to a mathematical integer.
- Attributes
Remarks
Returns the largest (closest to positive infinity) double
value that is less than or equal to the argument and is equal to a mathematical integer. Special cases: <ul><li>If the argument value is already equal to a mathematical integer, then the result is the same as the argument. <li>If the argument is NaN or an infinity or positive zero or negative zero, then the result is the same as the argument.</ul>
Java documentation for java.lang.StrictMath.floor(double)
.
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.