app/src/main/java/com/example/android/quakereport/EarthquakeAdapter.java
private String formatMagnitude(double magnitude)
    {
        DecimalFormat magFormat = new DecimalFormat("0.0");
        return magFormat.format(magnitude);
    }
/**
     *
     * return the formatted magnitude with one decimal place
     */
return the formatted magnitude with one decimal place
return the formatted magnitude with one decimal place
private String formatMagnitude(double magnitude)
    {
        DecimalFormat magFormat = new DecimalFormat("0.0");
        return magFormat.format(magnitude);
    }
private String formatMagnitude ( double magnitude ) { DecimalFormat magFormat = new DecimalFormat ( "0.0" ) ; return magFormat . format ( magnitude ) ; }
return the formatted magnitude with one decimal place
return the formatted magnitude with one decimal place