SqlDecimal.Ceiling Method (SqlDecimal)

 

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

Namespace:   System.Data.SqlTypes
Assembly:  System.Data (in System.Data.dll)

public static SqlDecimal Ceiling(
	SqlDecimal n
)

Parameters

n
Type: System.Data.SqlTypes.SqlDecimal

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

Return Value

Type: System.Data.SqlTypes.SqlDecimal

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

.NET Framework
Available since 1.1
Return to top
Show: