I have a decimal field -
amount = encrypt(models.DecimalField(default=0.00, decimal_places=2, max_digits=12))
but when I update the amount to a decimal and retrive it. It goes till max_digits specified (12 digits here).
e.g - if the amount is 152.32 I get Decimal('152.320000000')
I have a decimal field -
amount = encrypt(models.DecimalField(default=0.00, decimal_places=2, max_digits=12))
but when I update the amount to a decimal and retrive it. It goes till max_digits specified (12 digits here). e.g - if the amount is 152.32 I getDecimal('152.320000000')