public static String formatDouble(double number){
  return doubleFormat.format(number);
}

public static String formatDouble ( double number ) { return doubleFormat . format ( number ) ; }
formats a double value . for example : input = 123545 . 9876543 / output = 123545 . 987 .
