Public Member Functions | |
RoundDoubleToDouble () | |
Static Public Member Functions | |
double | roundToDigits (double number, double formatNumberForRounding, int numberOfDigits) throws IllegalArgumentException |
double | roundToDigits (double number, int numberOfDigits) throws IllegalArgumentException |
double | roundUpToDigits (double number, double formatNumberForRounding, int numberOfDigits) throws IllegalArgumentException |
double | roundUpToDigits (double number, int numberOfDigits) throws IllegalArgumentException |
double | roundUpToTenth (double number) |
double | truncToDigits (double number, double formatNumberForRounding, int numberOfDigits) throws IllegalArgumentException |
double | truncToDigits (double number, int numberOfDigits) throws IllegalArgumentException |
double | truncToTenth (double number) |
|
RoundDoubleToDouble constructor comment. |
|
This method not just cut off parameter specified number of less significant digits. It adds 1 to last not-cut digit if most significant cut digits was 5 or greater.
|
|
This method round
|
|
This method not just cut off parameter specified number of less significant digits. Rounded value is equall or greather than old value.
|
|
This method round
|
|
This method round parameter specified number to power of ten, which is first, greather than it. |
|
This method just cut off parameter specified number of less significant digits.
|
|
This method round
|
|
This method round parameter specified number to power of ten, which is first, lower than it. |