3 ms·
why didn't you just use the decimal module[0]. It's been in Python since 2.4 and just handles penny problems for you, basically zero brain power required. 0: h
by zie 8y ago
why didn't you just use the decimal module[0]. It's been in Python since 2.4 and just handles penny problems for you, basically zero brain power required.
0: https://docs.python.org/2/library/decimal.html https://docs.python.org/2/library/decimal.html