79486004

Date: 2025-03-05 09:36:26
Score: 2
Natty:
Report link

Found a fix: Had to quantize the decimal values before pushing it to the db.

average_rate_decimal = Decimal(service["AverageRate"]).quantize(Decimal("0.00"))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Barshat Acharya