# SpreadsheetNumberFormatToken

One lossless token in a spreadsheet number format.

Class 

`OfficeIMO.Spreadsheet`

**Namespace**

`OfficeIMO.Spreadsheet`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[SpreadsheetNumberFormatSyntax.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetNumberFormatSyntax.cs#L49)

**Modifiers**

sealed

One lossless token in a spreadsheet number format.

## Inheritance

- object
- SpreadsheetNumberFormatToken

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [SpreadsheetNumberFormatSyntax.Tokens](/api/core/officeimo-spreadsheet-spreadsheetnumberformatsyntax/#property-tokens)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public SpreadsheetNumberFormatTokenKind Kind { get; }` [#](#property-kind)

[SpreadsheetNumberFormatSyntax.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetNumberFormatSyntax.cs#L49)

Token role.

`public string Text { get; }` [#](#property-text)

[SpreadsheetNumberFormatSyntax.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetNumberFormatSyntax.cs#L51)

Exact authored text.

`public string Value { get; }` [#](#property-value)

[SpreadsheetNumberFormatSyntax.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetNumberFormatSyntax.cs#L53)

Decoded semantic value for literal and currency tokens.

`public int Position { get; }` [#](#property-position)

[SpreadsheetNumberFormatSyntax.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetNumberFormatSyntax.cs#L55)

Zero-based source position.

`public string? LocaleCode { get; }` [#](#property-localecode)

[SpreadsheetNumberFormatSyntax.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Spreadsheet/SpreadsheetNumberFormatSyntax.cs#L57)

Authored locale code from a bracketed currency or locale directive, without the leading hyphen.

<!-- PowerForge markdown artifact sha256:309B9EAD4990252331923AA010DDF917E64C953F9E242C3CC198FF23D5AAFA49 -->
