From ccae79c378643b02d3e4f9e9dfa2222ea33a7f01 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Tue, 30 Jun 2015 17:24:44 +0200 Subject: [PATCH] Round to two digits, not one Contributes to Asana issue 38958940640344 --- cura/PrintInformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 4b318259ed..6df4ae04f6 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -150,7 +150,7 @@ class PrintInformation(QObject): # Material amount is sent as an amount of mm^3, so calculate length from that r = self._current_settings.getSettingValueByKey("material_diameter") / 2 - self._material_amount = round((amount / (math.pi * r ** 2)) / 1000, 1) + self._material_amount = round((amount / (math.pi * r ** 2)) / 1000, 2) self.materialAmountChanged.emit() if not self._enabled: