Share via


DoubleValue.FromDouble Method

Returns a new DoubleValue object created from Double.

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

Syntax

'Declaration
Public Shared Function FromDouble ( _
    value As Double _
) As DoubleValue
'Usage
Dim value As Double
Dim returnValue As DoubleValue

returnValue = DoubleValue.FromDouble(value)
public static DoubleValue FromDouble(
    double value
)

Parameters

  • value
    Type: System.Double
    A Double value to create a new DoubleValue object from.

Return Value

Type: DocumentFormat.OpenXml.DoubleValue
A DoubleValue that corresponds to the value parameter.

See Also

Reference

DoubleValue Class

DoubleValue Members

DocumentFormat.OpenXml Namespace