Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

IWorkNumberFormat

Namespace OfficeIMO.IWork
Assembly OfficeIMO.IWork
Modifiers sealed

The recovered semantic numeric, temporal or text format of an iWork cell, independent of a destination format code.

Inheritance

  • Object
  • IWorkNumberFormat

Usage

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

Returned or exposed by

Properties

public IWorkNumberFormatKind Kind { get; } #

Gets the source scalar display family.

public Nullable<Int32> DecimalPlaces { get; } #

Gets the explicit decimal count from zero through thirty, or null for Numbers' automatic mode, fractions, temporal or text formats. Scientific formats apply this count to the mantissa; fractions use FractionAccuracy instead.

public Boolean ThousandsSeparator { get; } #

Gets whether the source requests digit grouping.

public IWorkNegativeNumberStyle NegativeStyle { get; } #

Gets the source treatment of negative values.

public String CurrencyCode { get; } #

Gets the source three-letter uppercase currency identifier, or null for other numeric formats. This does not imply a symbol or locale.

public Boolean UseAccountingStyle { get; } #

Gets whether the source currency format requests accounting alignment and parenthesized negative amounts.

public Nullable<IWorkFractionAccuracy> FractionAccuracy { get; } #

Gets the denominator precision for a fraction format, or null for other numeric families.

public IWorkDurationFormat DurationFormat { get; } #

Gets the qualified duration units and label style, or null for other families.

public IWorkDateTimeFormat DateTimeFormat { get; } #

Gets the qualified source date/time pattern, or null for other families.