planetj.formatters
Class FourDecimalCurrencyFormatter
java.lang.Object
|
+--java.text.Format
|
+--java.text.NumberFormat
|
+--planetj.formatters.CurrencyFormatter
|
+--planetj.formatters.FourDecimalCurrencyFormatter
- All Implemented Interfaces:
- Cloneable, IFormatter, Serializable
- public class FourDecimalCurrencyFormatter
- extends CurrencyFormatter
This class allows for a currency value to be formatted with four
decimal places instead of two.
- See Also:
- Serialized Form
Methods inherited from class java.text.NumberFormat |
clone, equals, format, format, format, getAvailableLocales, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, hashCode, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly |
FourDecimalCurrencyFormatter
public FourDecimalCurrencyFormatter()
getFormatterInstance
public NumberFormat getFormatterInstance()
- Overrides:
getFormatterInstance
in class CurrencyFormatter