temp *= 100 / getSize();
temp = temp * 100 / getSize();
    public String getDownloadPercentAsString() {        if (actualUploadPosition == -1 || uploadFrom == -1) {            return "0";        }        double temp = actualUploadPosition - uploadFrom;        if (temp == 0.0) {            return "0";        }        temp *= 100 / getSize();        String result = Double.toString(temp);        if (result.indexOf(".") + 3 < result.length()) {            result = result.substring(0, result.indexOf(".") + 3);        }        return result;    }