Click or drag to resize
MathFloor 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#
public static double Floor(
	double d
)

Parameters

d
Type: SystemDouble
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