Package org.rspeer.commons.math
Class NumericFormat
- java.lang.Object
-
- org.rspeer.commons.math.NumericFormat
-
public class NumericFormat extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NumericFormat.Abbreviation
-
Constructor Summary
Constructors Constructor Description NumericFormat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
apply(long value)
static String
apply(long value, int settings)
static String
apply(long value, NumericFormat.Abbreviation abbreviation, boolean commas, int precision)
static int
precision(int precision)
-
-
-
Field Detail
-
COMMAS
public static final byte COMMAS
- See Also:
- Constant Field Values
-
THOUSANDS
public static final byte THOUSANDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
precision
public static int precision(int precision)
-
apply
public static String apply(long value)
-
apply
public static String apply(long value, NumericFormat.Abbreviation abbreviation, boolean commas, int precision)
-
apply
public static String apply(long value, int settings)
-
-