- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 24 of file Round.java.
◆ Round()
org.turro.math.Round.Round |
( |
double |
value | ) |
|
◆ decimals()
Round org.turro.math.Round.decimals |
( |
int |
digits | ) |
|
Definition at line 32 of file Round.java.
33 double tmp = Math.pow(10.0, digits);
34 value = ((double) Math.floor((value * tmp) + 0.5555555)) / tmp;
◆ from()
static Round org.turro.math.Round.from |
( |
double |
value | ) |
|
|
static |
◆ perCent()
double org.turro.math.Round.perCent |
( |
int |
digits | ) |
|
Definition at line 38 of file Round.java.
Round decimals(int digits)
◆ value()
double org.turro.math.Round.value |
( |
| ) |
|
The documentation for this class was generated from the following file: