Decimal Math.Floor Method
Returns the largest integer less than or equal to the specified decimal number.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The largest integer less than or equal to value.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public static decimal Floor(
decimal value
)
Parameters
- value Decimal
- A decimal number.
Return Value
DecimalThe largest integer less than or equal to value.