SqlMoney.ToDecimal Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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