. 1 Private static String nuber ( Double n-) { 2 // the TODO Auto-Generated Method Stub . 3 String = DecimalFormat.getNumberInstance STR () the format (n-);. // The accuracy of the method to retain only three decimal places . 4 return STR; . 5 }
. 1 Private static String nuber ( Double n-) { 2 // the TODO Auto-Generated Method Stub . 3 String = DecimalFormat.getNumberInstance STR () the format (n-);. // The accuracy of the method to retain only three decimal places . 4 return STR; . 5 }