public static final double MILLISECONDS_PER_MINUTE = 60000.0;
public FuzzyDateFormatter() {
}
protected static String formatNumber(Double number, String singular, String plural) {
String returnVal;
<BUG>returnVal = String.format("%.1f", number.doubleValue());
if (returnVal.equals("1.0")) {
returnVal = number.intValue() + " " + singular;
} else if (returnVal.endsWith(".0")) {
returnVal = number.intValue() + " " + plural;</BUG>
} else {

public static final double MILLISECONDS_PER_MINUTE = 60000.0;
public FuzzyDateFormatter() {
}
protected static String formatNumber(Double number, String singular, String plural) {
String returnVal;
returnVal = Long.toString(Math.round(number.doubleValue()));
if (returnVal.equals("1")) {
returnVal = number.intValue() + " " + singular;
} else {
