แก้ไข

แชร์ผ่าน


SqlDecimal.Ceiling(SqlDecimal) Method

Definition

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

Parameters

n
SqlDecimal

The SqlDecimal structure for which the ceiling value is to be calculated.

Returns

A SqlDecimal representing the smallest whole number greater than or equal to the specified SqlDecimal structure.

Applies to

See also