Django floatformat rounds numbers #86

Open
opened 2025-01-30 15:18:29 +00:00 by lukas · 0 comments
Owner

I consider it a problem that values like 9.99 (a common price for games) is rounded to 10.0. A workaround is to pass -2 to floatformat which will then try to display up to 2 decimal places.

I consider it a problem that values like 9.99 (a common price for games) is rounded to 10.0. A workaround is to pass -2 to floatformat which will then try to display up to 2 decimal places.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lukas/timetracker#86
No description provided.