Package org.faceless.graph.formatter
Class CurrencyFormatter
- java.lang.Object
-
- org.faceless.graph.formatter.Formatter
-
- org.faceless.graph.formatter.CurrencyFormatter
-
public class CurrencyFormatter extends Formatter
The CurrencyFormatter formats a value according to the currency format of the specified locale.
-
-
Constructor Summary
Constructors Constructor Description CurrencyFormatter()
Create a newCurrencyFormatter
with the format of the current localeCurrencyFormatter(java.util.Locale loc)
Create a newCurrencyFormatter
with the format of the specified locale
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(double in)
Return a String that is the formatted version of the input parameter.-
Methods inherited from class org.faceless.graph.formatter.Formatter
fixMinMax, isDiscrete, setDensity, setFixedEnds, steps
-
-