Comment Comment by moonchild > floathm ... >>> def percent(progress, total): ... return round(99 * progress / total + 0.5) ... >>> x = 9007199254740990.0 >>> x - 1 < x True >>> percent(x - 1, x) 100 parent moonchild 2 years ago
hm ...