Skip to main content
A newer version of this page is available. .

XlVariantValue.NumericValue Property

Gets or sets the number stored by the XlVariantValue object.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public double NumericValue { get; set; }

Property Value

Type Description
Double

A Double value.

Remarks

Use the XlVariantValue.IsNumeric or XlVariantValue.Type property to check whether the specified value is of the numeric type.

Note

Note that a date and time value is stored in the XlVariantValue object as a serial number that is displayed in a cell according to the applied date and time format. So, if an XlVariantValue object contains a number, the XlVariantValue.DateTimeValue property returns the DateTime object which specifies a date and time value represented by that number.

See Also