SqlDecimal.Subtract Method (SqlDecimal, SqlDecimal)


Calculates the results of subtracting the second SqlDecimal operand from the first.

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

public static SqlDecimal Subtract(
	SqlDecimal x,
	SqlDecimal y

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A new SqlDecimal structure whose Value property contains the results of the subtraction.

.NET Framework
Available since 1.1
Return to top