return String.valueOf(f);
}
public int getPercentage() {
return Math.round(getPercentageFloat());
}
<BUG>public float getPercentageFloat() {
return 100*numerator/denominator;</BUG>
}
public boolean equals(Object o) {
if (this == o) return true;

return String.valueOf(f);
}
public int getPercentage() {
return Math.round(getPercentageFloat());
}
public float getPercentageFloat() {
if (Float.compare(denominator, numerator) == 0)
return 100; // fix the 0/0 case without being as big a hack!
return 100*numerator/denominator;
}
public boolean equals(Object o) {
if (this == o) return true;
