Skip to content

Most visited

Recently visited

navigation
Added in API level 1

NumberFormat.Field

public static class NumberFormat.Field
extends Format.Field

java.lang.Object
   ↳ java.text.AttributedCharacterIterator.Attribute
     ↳ java.text.Format.Field
       ↳ java.text.NumberFormat.Field


The instances of this inner class are used as attribute keys and values in AttributedCharacterIterator that the formatToCharacterIterator(Object) method returns.

Summary

Fields

public static final NumberFormat.Field CURRENCY

This constant stands for the currency symbol.

public static final NumberFormat.Field DECIMAL_SEPARATOR

This constant stands for the decimal separator.

public static final NumberFormat.Field EXPONENT

This constant stands for the exponent part of the number.

public static final NumberFormat.Field EXPONENT_SIGN

This constant stands for the exponent sign symbol.

public static final NumberFormat.Field EXPONENT_SYMBOL

This constant stands for the exponent symbol.

public static final NumberFormat.Field FRACTION

This constant stands for the fraction part of the number.

public static final NumberFormat.Field GROUPING_SEPARATOR

This constant stands for the grouping separator.

public static final NumberFormat.Field INTEGER

This constant stands for the integer part of the number.

public static final NumberFormat.Field PERCENT

This constant stands for the percent symbol.

public static final NumberFormat.Field PERMILLE

This constant stands for the permille symbol.

public static final NumberFormat.Field SIGN

This constant stands for the number sign.

Inherited fields

From class java.text.AttributedCharacterIterator.Attribute

Protected constructors

NumberFormat.Field(String fieldName)

Constructs a new instance of NumberFormat.Field with the given field name.

Inherited methods

From class java.text.AttributedCharacterIterator.Attribute
From class java.lang.Object

Fields

CURRENCY

Added in API level 1
NumberFormat.Field CURRENCY

This constant stands for the currency symbol.

DECIMAL_SEPARATOR

Added in API level 1
NumberFormat.Field DECIMAL_SEPARATOR

This constant stands for the decimal separator.

EXPONENT

Added in API level 1
NumberFormat.Field EXPONENT

This constant stands for the exponent part of the number.

EXPONENT_SIGN

Added in API level 1
NumberFormat.Field EXPONENT_SIGN

This constant stands for the exponent sign symbol.

EXPONENT_SYMBOL

Added in API level 1
NumberFormat.Field EXPONENT_SYMBOL

This constant stands for the exponent symbol.

FRACTION

Added in API level 1
NumberFormat.Field FRACTION

This constant stands for the fraction part of the number.

GROUPING_SEPARATOR

Added in API level 1
NumberFormat.Field GROUPING_SEPARATOR

This constant stands for the grouping separator.

INTEGER

Added in API level 1
NumberFormat.Field INTEGER

This constant stands for the integer part of the number.

PERCENT

Added in API level 1
NumberFormat.Field PERCENT

This constant stands for the percent symbol.

PERMILLE

Added in API level 1
NumberFormat.Field PERMILLE

This constant stands for the permille symbol.

SIGN

Added in API level 1
NumberFormat.Field SIGN

This constant stands for the number sign.

Protected constructors

NumberFormat.Field

Added in API level 1
NumberFormat.Field (String fieldName)

Constructs a new instance of NumberFormat.Field with the given field name.

Parameters
fieldName String
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.