Class
NumberCellValue

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

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
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

RawValue

Numeric value converted to string using the current culture.

Declaration

cs-api-definition
public override string RawValue { get; }

Property Value

string

The raw value.

Overrides CellValueBase<double>.RawValue

ValueType

Returns CellValueType.Number.

Declaration

cs-api-definition
public override CellValueType ValueType { get; }

Property Value

CellValueType

The type of the value.

Overrides CellValueBase<double>.ValueType

Methods

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides CellValueBase<double>.GetHashCode()

GetValueAsStringOverride(CellValueFormat)

Gets the value as string override.

Declaration

cs-api-definition
protected override string GetValueAsStringOverride(CellValueFormat format)

Parameters

format

CellValueFormat

The format.

Returns

string

Overrides CellValueBase<double>.GetValueAsStringOverride(CellValueFormat)

Extension Methods