DecimalValue.FromDecimal(Decimal) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.