SqlDecimal.Ceiling(SqlDecimal) SqlDecimal.Ceiling(SqlDecimal) SqlDecimal.Ceiling(SqlDecimal) SqlDecimal.Ceiling(SqlDecimal) Method

定义

返回大于或等于指定 SqlDecimal 结构的最小整数。Returns the smallest whole number greater than or equal to the specified SqlDecimal structure.

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

参数

n
SqlDecimal SqlDecimal SqlDecimal SqlDecimal

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

返回

一个 SqlDecimal,表示大于或等于指定的 SqlDecimal 结构的最小整数。A SqlDecimal representing the smallest whole number greater than or equal to the specified SqlDecimal structure.

适用于

另请参阅