SqlDecimal.Floor Method (SqlDecimal)


Rounds a specified SqlDecimal number to the next lower whole number.

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

public static SqlDecimal Floor(
	SqlDecimal n


Type: System.Data.SqlTypes.SqlDecimal

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

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A SqlDecimal structure that contains the whole number part of this SqlDecimal structure.

.NET Framework
Available since 1.1
Return to top