C#/XAML for HTML5 Documentation
C#/XAML for HTML5 Documentation
Reference
System
Math Class
Math Methods
Floor Method
Floor Method (Decimal)
Floor Method (Double)
Math
Floor Method (Double)
Returns the largest integer less than or equal to the specified double-precision floating-point number.
Namespace:
System
Assembly:
mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
Copy
public
static
double
Floor
(
double
d
)
Parameters
d
Type:
System
Double
A double-precision floating-point number.
Return Value
Type:
Double
The largest integer less than or equal to
d
. If
d
is equal to
NaN
,
NegativeInfinity
, or
PositiveInfinity
, that value is returned.
See Also
Reference
Math Class
Floor Overload
System Namespace