The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

CellValue.NumericValue Property

Returns a number contained in a cell.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

public double NumericValue { get; }
Public ReadOnly Property NumericValue As Double
public double NumericValue { get; }
Public ReadOnly Property NumericValue As Double
public double NumericValue { get; }
Public ReadOnly Property NumericValue As Double

Property Value

Type Description
Double

A Double value specifying a cell value of the numeric type.

Property Value

Type Description
Double

A Double value specifying a cell value of the numeric type.

Property Value

Type Description
Double

A Double value specifying a cell value of the numeric type.

Remarks

Use the NumericValue property to obtain the number contained in a cell. To check whether the cell value is of the numeric type, use the CellValue.IsNumeric or CellValue.Type property. To get a string that specifies a numeric value as it is displayed in the cell according to the applied number format, use the Cell.DisplayText property.

Note

Note, that dates and times are stored in cells as numbers that are displayed according to the applied date and time formats. So, if a cell contains a number, the CellValue.DateTimeValue property returns the DateTime object, which specifies a date and time value corresponding to that number.

For more information on cell values, refer to the Cell Data Types document.

See Also