DoubleValue.ToDouble Method
Returns the internal Double representation of a DoubleValue object.
Namespace: DocumentFormat.OpenXml
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Shared Function ToDouble ( _
xmlAttribute As DoubleValue _
) As Double
'Usage
Dim xmlAttribute As DoubleValue
Dim returnValue As Double
returnValue = DoubleValue.ToDouble(xmlAttribute)
public static double ToDouble(
DoubleValue xmlAttribute
)
Parameters
- xmlAttribute
Type: DocumentFormat.OpenXml.DoubleValue
A DoubleValue object to retrieve an internal Double representation.
Return Value
Type: System.Double
A Double value that represents a DoubleValue object.