Changes between Initial Version and Version 1 of Ticket #26459, comment 3
- Timestamp:
- Apr 5, 2016, 3:36:39 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26459, comment 3
initial v1 8 8 mc_gross = models.DecimalField(max_digits=64, decimal_places=2, default=0) 9 9 10 invoice = 10.215 # float10 invoice = 2.215 # float 11 11 invoice.save() 12 12 }}} 13 13 14 In DB will be value 10.21 (or if 10.225 -> 10.22)14 In DB will be value 2.21 (or if 2.225 -> 2.22)