summPrice 2decimal
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
@@ -37,6 +37,6 @@ _flutter.buildConfig = {"engineRevision":"a4ce257c68517c1410f4b48ac9852ab5642a3f
|
||||
|
||||
_flutter.loader.load({
|
||||
serviceWorkerSettings: {
|
||||
serviceWorkerVersion: "4044494227" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
||||
serviceWorkerVersion: "6339570" /* Flutter's service worker is deprecated and will be removed in a future Flutter release. */
|
||||
}
|
||||
});
|
||||
|
||||
+28124
-28038
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user