3 ms·
Floats != decimals, and it's good practice to use Decimal I think.
by orf 10y ago
Floats != decimals, and it's good practice to use Decimal I think.
- renzon 10y agoIt's not good practice. You must use Decimal when precision is important. Example: when dealing with currency, so arithmetic operations don't create or miss cents.