Skip to main content

XlValueObject.IsNumeric Property

Gets whether the current object contains a number.

Namespace: DevExpress.Export.Xl

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

Declaration

public bool IsNumeric { get; }

Property Value

Type Description
Boolean

true, if the current value is of the numeric type; otherwise, false

Remarks

Use the NumericValue property to get the number stored by the XlValueObject object.

Note

Note that a date and time value is stored in the XlValueObject object as a serial number and displayed in a cell according to the applied date and time format. Therefore, if a date and time value is assigned to the XlValueObject object, the IsNumeric property returns true. The NumericValue property returns a number contained in a cell, and the XlValueObject.DateTimeValue property returns the DateTime object, which specifies the date and time value represented by that number.

See Also