writeNumber static method
Converts a double
to a String
, not in scientific
notation.
@param d the double
to convert
@return the double
as a String
, not in
scientific notation
Implementation
static String writeNumber(double d, NumberFormat formatter) {
return formatter.format(d);
}