summPrice 2decimal

This commit is contained in:
2026-09-26 20:03:58 +02:00
parent 44fa19b89f
commit d6bdc01281
3 changed files with 28126 additions and 28040 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class TankGuruDirectusModel {
if (liter != null && pricePerLiter != null) {
double literValue = double.tryParse(liter!) ?? 0.0;
double pricePerLiterValue = double.tryParse(pricePerLiter!) ?? 0.0;
szPriceTotal = (literValue * pricePerLiterValue).toStringAsFixed(3);
szPriceTotal = (literValue * pricePerLiterValue).toStringAsFixed(2);
} else {
szPriceTotal = '0.00';
}