MathFloor Method (Decimal) |
Returns the largest integer less than or equal to the specified decimal number.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static decimal Floor(
decimal d
)
Parameters
- d
- Type: SystemDecimal
A decimal number.
Return Value
Type:
DecimalThe largest integer less than or equal to
d.
See Also