Why are my total costs per day wrong? The numbers don’t add up…

Short story is I have a total kWh usage yesterday of 18.05 and every devices has a fixed cost of 0.153 per kWh. So that should be 2.76 but I am getting… 2.69. Why?

Data below…

I checked every device and they are all set to a fixed cost of 0.153 kWh like this…

And I checked my kWh usage is correct here…

Rounding errors.

The total price is the sum of (each individual energy amount times the cost)|round(2). Not the total energy times the cost. Even then rounded to two decimal places adding up all the shown prices I get 2.68 not 2.69.

Is their a work around for this where you can have it use more digits for currency?

Sure, make your own template sensor.