Reputation: 341
I have the following code:
annotate(totale=ExpressionWrapper(Sum(F('prezzo')*0.50/12),output_field=FloatField()
but in my template I have as results (for example) 145,555555555555555555555555 instead 145,55
I have added |intcomma
but the result is the same.
How could I fix this ??
Upvotes: 0
Views: 169