|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjas.hist.JASHistUtil
public class JASHistUtil
Constructor Summary | |
---|---|
JASHistUtil()
|
Method Summary | |
---|---|
static double |
roundDown(double x,
int order)
Round number down (closer to Negative Infinity): "order" defines which significant digit is rounded, order >= 0 roundDown(234.5, 0) -> 200.0 roundDown(234.5, 1) -> 230.0 roundDown(234.5, 2) -> 234.0 |
static double |
roundUp(double x,
int order)
Round number up (closer to Positive Infinity), "order" defines which significant digit is rounded, order >= 0 roundUp(234.5, 0) -> 300.0 roundUp(234.5, 1) -> 240.0 roundUp(234.5, 2) -> 235.0 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JASHistUtil()
Method Detail |
---|
public static double roundDown(double x, int order)
public static double roundUp(double x, int order)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |