SqlDecimal.Floor(SqlDecimal) SqlDecimal.Floor(SqlDecimal) SqlDecimal.Floor(SqlDecimal) SqlDecimal.Floor(SqlDecimal) Method

定义

将指定 SqlDecimal 数字舍入为下一个较小的整数。Rounds a specified SqlDecimal number to the next lower whole number.

public:
 static System::Data::SqlTypes::SqlDecimal Floor(System::Data::SqlTypes::SqlDecimal n);
public static System.Data.SqlTypes.SqlDecimal Floor (System.Data.SqlTypes.SqlDecimal n);
static member Floor : System.Data.SqlTypes.SqlDecimal -> System.Data.SqlTypes.SqlDecimal
Public Shared Function Floor (n As SqlDecimal) As SqlDecimal

参数

n
SqlDecimal SqlDecimal SqlDecimal SqlDecimal

SqlDecimal 结构,将要计算其最小值。The SqlDecimal structure for which the floor value is to be calculated.

返回

一个 SqlDecimal 结构,其中包含此 SqlDecimal 结构的整数部分。A SqlDecimal structure that contains the whole number part of this SqlDecimal structure.

适用于

另请参阅