Explicit Conversion (Double to SqlDecimal)

SqlDecimal Explicit Conversion (Double to SqlDecimal)

 
equivalentCodeEntityP:System.Data.SqlTypes.SqlDecimal.Value

Converts the Double parameter to SqlDecimal.

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

public static explicit operator SqlDecimal (
	double x
)

Parameters

x
Type: System.Double

The Double structure to be converted.

Return Value

Type: System.Data.SqlTypes.SqlDecimal

A new SqlDecimal structure whose value equals the value of the Double parameter.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft