public class NumUtil extends Object
Modifier and Type | Field and Description |
---|---|
static NumberFormat |
numberFormat |
Constructor and Description |
---|
NumUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
formatNum(double num,
int numfracdigits) |
static boolean |
NeedRemove(String[] a)
Determin: should 0 be remove?
|
static int |
numFracDigits(double num) |
static String |
RemoveZero(String s)
Format string by removin ".0"
|
static double |
roundUp(double val) |
static String[] |
ZeroRemover(String[] a) |
public static NumberFormat numberFormat
public static double roundUp(double val)
public static int numFracDigits(double num)
public static String formatNum(double num, int numfracdigits)
public static String RemoveZero(String s)
public static boolean NeedRemove(String[] a)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics