Click or drag to resize
MathFloor Method (Decimal)
Returns the largest integer less than or equal to the specified decimal number.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static decimal Floor(
	decimal d
)

Parameters

d
Type: SystemDecimal
A decimal number.

Return Value

Type: Decimal
The largest integer less than or equal to d.
See Also