SqlDecimal::Floor Method (SqlDecimal)
.NET Framework (current version)
Rounds a specified SqlDecimal number to the next lower whole number.
Assembly: System.Data (in System.Data.dll)
Parameters
- n
-
Type:
System.Data.SqlTypes::SqlDecimal
The SqlDecimal structure for which the floor value is to be calculated.
Return Value
Type: System.Data.SqlTypes::SqlDecimalA SqlDecimal structure that contains the whole number part of this SqlDecimal structure.
.NET Framework
Available since 1.1
Available since 1.1
Show: