DecimalValue.ToDecimal Method

Returns the internal Decimal representation of a DecimalValue object.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Shared Function ToDecimal ( _
    xmlAttribute As DecimalValue _
) As Decimal
'Usage
Dim xmlAttribute As DecimalValue
Dim returnValue As Decimal

returnValue = DecimalValue.ToDecimal(xmlAttribute)
public static decimal ToDecimal(
    DecimalValue xmlAttribute
)

Parameters

Return Value

Type: System.Decimal
A Decimal value that represents a DecimalValue object.

See Also

Reference

DecimalValue Class

DecimalValue Members

DocumentFormat.OpenXml Namespace