to top
Android APIs
public static final enum

Formatter.BigDecimalLayoutForm

extends Enum<E extends  Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ java.util.Formatter.BigDecimalLayoutForm

Class Overview

The enumeration giving the available styles for formatting very large decimal numbers.

Summary

Enum Values
Formatter.BigDecimalLayoutForm  DECIMAL_FLOAT  Use normal decimal/float style for BigDecimals. 
Formatter.BigDecimalLayoutForm  SCIENTIFIC  Use scientific style for BigDecimals. 
Public Methods
static Formatter.BigDecimalLayoutForm valueOf( String name)
final static BigDecimalLayoutForm[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Formatter.BigDecimalLayoutForm DECIMAL_FLOAT

Use normal decimal/float style for BigDecimals.

public static final Formatter.BigDecimalLayoutForm SCIENTIFIC

Use scientific style for BigDecimals.

Public Methods

public static Formatter.BigDecimalLayoutForm valueOf (String name)

Added in API level 1

public static final BigDecimalLayoutForm[] values ()

Added in API level 1

No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.