Freigeben über


DecimalValue.FromDecimal-Methode

Returns a new DecimalValue object created from Decimal.

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

Syntax

'Declaration
Public Shared Function FromDecimal ( _
    value As Decimal _
) As DecimalValue
'Usage
Dim value As Decimal
Dim returnValue As DecimalValue

returnValue = DecimalValue.FromDecimal(value)
public static DecimalValue FromDecimal(
    decimal value
)

Parameter

  • value
    Typ: System.Decimal
    A Decimal value to create a new DecimalValue object from.

Rückgabewert

Typ: DocumentFormat.OpenXml.DecimalValue
A DecimalValue that corresponds to the value parameter.

Siehe auch

Referenz

DecimalValue Klasse

DecimalValue-Member

DocumentFormat.OpenXml-Namespace