4 ms·
import decimal; decimal.Decimal('3.14159')
by cdelsolar 9y ago
import decimal; decimal.Decimal('3.14159')
- fauigerzigerk 9y agoA few words of explanation wouldn't hurt. Are you saying that I shouldn't ever do monetary calculations in the database at all? If so then I have to disagree.
- sigzero 9y agoNo, they are giving ways to do it outside of the db. You really answered your own bias on this. You want the db to handle it, so you wouldn't use sqlite in the first place.