My code:
verloningsoverzicht_cumulatief_dagen =
Overzicht.objects.filter(periode=periode, jaar=jaar)
.values('testcontract', 'contract')
.annotate(aantal=Sum('aantal'))
Now lets say the .annotatie Sum is 6.3500000, i want it rounded to 6.35 The round method is not working, how can i solve this
.annotate(aantal=round(Sum('aantal'),2))