New to Telerik Document Processing? Start a free 30-day trial

Cell value for numeric data stored as double-precision floating-point; use for numbers, dates, times, and percentages.

Definition

Namespace:Telerik.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class NumberCellValue : CellValueBase<double>, ICellValue

Inheritance: objectCellValueBase<double>NumberCellValue

Implements: ICellValue

Inherited Members CellValueBase<double>.GetValueAsString(CellValueFormat)CellValueBase<double>.InvalidateEditFormatString()CellValueBase<double>.GetResultValueAsString(CellValueFormat)CellValueBase<double>.ResultValueTypeCellValueBase<double>.Value

Properties

Numeric value converted to string using the current culture.

C#
public override string RawValue { get; }
Property Value:

The raw value.

Overrides: CellValueBase<double>.RawValue

Returns CellValueType.Number.

C#
public override CellValueType ValueType { get; }
Property Value:

The type of the value.

Overrides: CellValueBase<double>.ValueType

Methods

Determines whether the specified object is equal to the current object.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides: CellValueBase<double>.Equals(object)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: CellValueBase<double>.GetHashCode()

Gets the value as string override.

C#
protected override string GetValueAsStringOverride(CellValueFormat format)
Parameters:formatCellValueFormat

The format.

Returns:

string

Overrides: CellValueBase<double>.GetValueAsStringOverride(CellValueFormat)

Extension Methods