|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stimulsoft.base.utils.StiMath
public class StiMath
StiMath helper to operate with Mathmatic commands Copyright Stimulsoft
| Method Summary | |
|---|---|
static double |
inscribe(double value,
double min,
double max)
Inscribe value to min/max values |
static double |
round(java.lang.Double value,
java.lang.Double digits)
Round value to digits after point |
static double |
round(double value,
int digits)
Round value to digits after point |
static double |
round(float value,
int digits)
Round value to digits after point |
static int |
roundDown(java.lang.Double value)
Round to down value |
static java.lang.String |
roundS(double value,
int digits)
|
static int |
roundUp(java.lang.Double value)
Round to upper value |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static double round(java.lang.Double value,
java.lang.Double digits)
value - digits -
public static double round(double value,
int digits)
value - digits -
public static java.lang.String roundS(double value,
int digits)
public static double round(float value,
int digits)
value - digits -
public static int roundUp(java.lang.Double value)
value -
public static int roundDown(java.lang.Double value)
value -
public static double inscribe(double value,
double min,
double max)
value - min - max -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||