Rounding error on db SUM() #342

Closed
opened 2023-08-25 08:45:04 +02:00 by mpeltriaux · 1 comment
Owner

Status quo

There are rounding errors on SUM() for various float values. These rounding errors are common on float sums and can be easily fixed for our purposes.

Fix

Simply cast the return value of sql's SUM() into a two digit floating point type.

# Status quo There are rounding errors on SUM() for various float values. These rounding errors are common on float sums and can be easily fixed for our purposes. # Fix Simply cast the return value of sql's SUM() into a two digit floating point type.
mpeltriaux added the
bug
label 2023-08-25 08:45:04 +02:00
mpeltriaux self-assigned this 2023-08-25 08:45:04 +02:00
Author
Owner

Merged in #343

# Merged in #343
Sign in to join this conversation.
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: IT-Naturschutz/konova#342
No description provided.