Java.Lang.StrictMath.Floor Method
Returns the double conversion of the most positive (closest to positive infinity) integer less than or equal to the argument.

Syntax

[Android.Runtime.Register("floor", "(D)D", "")]
public static double Floor (double d)

Parameters

d
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns the double conversion of the most positive (closest to positive infinity) integer less than or equal to the argument.

Special cases:

  • floor(+0.0) = +0.0
  • floor(-0.0) = -0.0
  • floor(+infinity) = +infinity
  • floor(-infinity) = -infinity
  • floor(NaN) = NaN

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1