Share via


DecimalValue.FromDecimal(Decimal) Method

Definition

Returns a new DecimalValue object that was created from a Decimal value.

public static DocumentFormat.OpenXml.DecimalValue FromDecimal (decimal value);
static member FromDecimal : decimal -> DocumentFormat.OpenXml.DecimalValue
Public Shared Function FromDecimal (value As Decimal) As DecimalValue

Parameters

value
Decimal

A Decimal value to use to create a new DecimalValue object.

Returns

A DecimalValue object that corresponds to the value parameter.

Applies to