Decimal.Floor Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Rounds a specified Decimal number to the closest integer toward negative infinity.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- d
- Type: System.Decimal
A Decimal.
Return Value
Type: System.DecimalIf d has a fractional part, the next whole Decimal number toward negative infinity that is less than d.
-or-
If d doesn't have a fractional part, d is returned unchanged.
Show: