From 846151d3736922f3bae881c2dc1f5d1a89a83238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Fri, 19 Jun 2026 12:44:27 +0200 Subject: [PATCH] Fix converted price rounding (0 decimal places, not 2) round(..., 0) matches the original floatformat(..., 0) intent. Co-Authored-By: Claude Opus 4.8 --- games/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games/tasks.py b/games/tasks.py index bff204f..3a44a01 100644 --- a/games/tasks.py +++ b/games/tasks.py @@ -82,7 +82,7 @@ def convert_prices(): if rate: _save_converted_price( purchase, - round(purchase.price * rate, 2), + round(purchase.price * rate, 0), needs_update, )