Logo Search packages:      
Sourcecode: icu version File versions  Download package

The possible number format styles. ICU 2.0

Enumerator:
UNUM_PATTERN_DECIMAL 

Decimal format defined by a pattern string. ICU 3.0

UNUM_DECIMAL 

Decimal format ("normal" style). ICU 2.0

UNUM_CURRENCY 

Currency format with a currency symbol, e.g., "$1.00". ICU 2.0

UNUM_PERCENT 

Percent format ICU 2.0

UNUM_SCIENTIFIC 

Scientific format ICU 2.1

UNUM_SPELLOUT 

Spellout rule-based format ICU 2.0

UNUM_ORDINAL 

Ordinal rule-based format ICU 3.0

UNUM_DURATION 

Duration rule-based format ICU 3.0

UNUM_NUMBERING_SYSTEM 

Numbering system rule-based format ICU 4.2

UNUM_PATTERN_RULEBASED 

Rule-based format defined by a pattern string. ICU 3.0

UNUM_CURRENCY_ISO 

Currency format with an ISO currency code, e.g., "USD1.00". ICU 4.8

UNUM_CURRENCY_PLURAL 

Currency format with a pluralized currency name, e.g., "1.00 US dollar" and "3.00 US dollars". ICU 4.8

UNUM_FORMAT_STYLE_COUNT 

One more than the highest number format style constant. ICU 4.8

UNUM_DEFAULT 

Default format ICU 2.0

UNUM_IGNORE 

Alias for UNUM_PATTERN_DECIMAL ICU 3.0

Definition at line 135 of file unum.h.

                                {
    /**
     * Decimal format defined by a pattern string.
     * @stable ICU 3.0
     */
    UNUM_PATTERN_DECIMAL=0,
    /**
     * Decimal format ("normal" style).
     * @stable ICU 2.0
     */
    UNUM_DECIMAL=1,
    /**
     * Currency format with a currency symbol, e.g., "$1.00".
     * @stable ICU 2.0
     */
    UNUM_CURRENCY,
    /**
     * Percent format
     * @stable ICU 2.0
     */
    UNUM_PERCENT,
    /**
     * Scientific format
     * @stable ICU 2.1
     */
    UNUM_SCIENTIFIC,
    /**
     * Spellout rule-based format
     * @stable ICU 2.0
     */
    UNUM_SPELLOUT,
    /** 
     * Ordinal rule-based format 
     * @stable ICU 3.0
     */
    UNUM_ORDINAL,
    /** 
     * Duration rule-based format 
     * @stable ICU 3.0
     */
    UNUM_DURATION,
    /** 
     * Numbering system rule-based format
     * @stable ICU 4.2
     */
    UNUM_NUMBERING_SYSTEM,
    /** 
     * Rule-based format defined by a pattern string.
     * @stable ICU 3.0
     */
    UNUM_PATTERN_RULEBASED,
    /**
     * Currency format with an ISO currency code, e.g., "USD1.00".
     * @draft ICU 4.8
     */
    UNUM_CURRENCY_ISO,
    /**
     * Currency format with a pluralized currency name,
     * e.g., "1.00 US dollar" and "3.00 US dollars".
     * @draft ICU 4.8
     */
    UNUM_CURRENCY_PLURAL,
    /**
     * One more than the highest number format style constant.
     * @draft ICU 4.8
     */
    UNUM_FORMAT_STYLE_COUNT,
    /**
     * Default format
     * @stable ICU 2.0
     */
    UNUM_DEFAULT = UNUM_DECIMAL,
    /**
     * Alias for UNUM_PATTERN_DECIMAL
     * @stable ICU 3.0
     */
    UNUM_IGNORE = UNUM_PATTERN_DECIMAL
} UNumberFormatStyle;

Generated by  Doxygen 1.6.0   Back to index