# IWorkNumberFormatKind

Supported iWork numeric, temporal and text format semantics.

Enum 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`5e5a2dda74b3` with working tree changes

**Source**

[IWorkNumberFormat.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L42)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Supported iWork numeric, temporal and text format semantics.

## Inheritance

- Enum
- IWorkNumberFormatKind

## Usage

Explore 9 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 9

- Property [IWorkNumberFormat.Kind](/api/iwork/officeimo-iwork-iworknumberformat/#property-kind)
- Field [IWorkNumberFormatKind.Currency](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-currency)
- Field [IWorkNumberFormatKind.DateTime](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-datetime)
- Field [IWorkNumberFormatKind.Duration](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-duration)
- Field [IWorkNumberFormatKind.Fraction](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-fraction)
- Field [IWorkNumberFormatKind.Number](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-number)
- Field [IWorkNumberFormatKind.Percentage](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-percentage)
- Field [IWorkNumberFormatKind.Scientific](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-scientific)
- Field [IWorkNumberFormatKind.Text](/api/iwork/officeimo-iwork-iworknumberformatkind/#field-text)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const IWorkNumberFormatKind Number` [#](#field-number)

[IWorkNumberFormat.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L44)

A decimal number.

Value: `0`

`public const IWorkNumberFormatKind Percentage` [#](#field-percentage)

[IWorkNumberFormat.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L46)

A numeric value displayed after multiplication by one hundred, with a percent sign.

Value: `1`

`public const IWorkNumberFormatKind Currency` [#](#field-currency)

[IWorkNumberFormat.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L48)

A numeric currency amount with a source currency identifier.

Value: `2`

`public const IWorkNumberFormatKind Scientific` [#](#field-scientific)

[IWorkNumberFormat.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L50)

A numeric value displayed with a mantissa and a base-ten exponent.

Value: `3`

`public const IWorkNumberFormatKind Fraction` [#](#field-fraction)

[IWorkNumberFormat.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L52)

A numeric value displayed as a mixed fraction with bounded denominator precision.

Value: `4`

`public const IWorkNumberFormatKind Duration` [#](#field-duration)

[IWorkNumberFormat.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L54)

An elapsed time whose source value is measured in seconds.

Value: `5`

`public const IWorkNumberFormatKind DateTime` [#](#field-datetime)

[IWorkNumberFormat.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L56)

A calendar date or time with a recovered source pattern.

Value: `6`

`public const IWorkNumberFormatKind Text` [#](#field-text)

[IWorkNumberFormat.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/5e5a2dda74b33242f1f075718ee568bb355c03ba/OfficeIMO.IWork/IWorkNumberFormat.cs#L58)

An explicitly selected text format on an empty cell.

Value: `7`

<!-- PowerForge markdown artifact sha256:C66CEACDA7DC1FA706BBCC504FE82E2A650D41BD26A24D283756E6D234932438 -->
