public class Rounding
extends java.lang.Object
Constructor and Description |
---|
Rounding() |
Modifier and Type | Method and Description |
---|---|
static double |
commercialRound(double number,
int postCommaDigit)
Commercialround - Kaufmaennisches Runden
|
static void |
main(java.lang.String[] args) |
static double |
roundToEven(double number,
int postCommaDigit)
round to even - unverzerrtes Mathematisches Runden
|
public static double commercialRound(double number, int postCommaDigit)
number
- the number to be roundedpostCommaDigit
- number of post comma digitspublic static double roundToEven(double number, int postCommaDigit)
number
- the number to be roundedpostCommaDigit
- number of post comma digitspublic static void main(java.lang.String[] args)
Further documentation and examples can be found under www.mathletfactory.de.