public class DoubleUtilities extends Object
Constructor and Description |
---|
DoubleUtilities() |
public static double format(double value, char decimalSeparator, int decimalsNumber)
value
- Separator char of the integer partdecimalSeparator
- Separator char of the decimal partdecimalsNumber
- Number of decimalspublic static double format(double num, int n)
num
- Value to tailn
- Number of decimals