ToDecimal Method

SqlMoney.ToDecimal Method ()


Converts the Value of this instance of SqlMoney as a Decimal structure.

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

public decimal ToDecimal()

Return Value

Type: System.Decimal

A Decimal structure whose value equals the Value property of this SqlMoney structure.

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft