﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29823	Incorrect Decimal handling in Sum queries	Jurica Železnjak	nobody	"When doing `Sum` aggregate or annotate query on a `DecimalField` the result is a close-to-zero float (scientific notation) when it should be zero. 

For example: 8 records, with following values: `7.85`, `-7`, `19.85`, `-7`, `-5`, `-7`, `-0.85`, `-0.85`
Aggregate Sum query on this column should equal `Decimal('0.00')`, but I'm getting Decimal('1.77635683940025E-15')

Before Django 2.1.0 this worked properly. 
"	Bug	new	Database layer (models, ORM)	2.1	Normal				Unreviewed	0	0	0	0	0	0
