From 5a4ae27f982903d58bc9ea9f645ab23cc44c64d4 Mon Sep 17 00:00:00 2001 From: "harald.martini@student.tugraz.at" <harald.martini@student.tugraz.at> Date: Mon, 28 Jun 2021 16:16:47 +0200 Subject: [PATCH] Revert "Replaced ToMinSignificantDigits with ToXmlFormat in XMLVTPReports" This reverts commit 047c3c891270bec9d61d82de1bbba0e99804806a. --- .../XML/DeclarationReports/VTPReport/XMLVTPReport.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VTPReport/XMLVTPReport.cs b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VTPReport/XMLVTPReport.cs index 9d13cf0cbd..e7b4282468 100644 --- a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VTPReport/XMLVTPReport.cs +++ b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VTPReport/XMLVTPReport.cs @@ -297,11 +297,11 @@ namespace TUGraz.VectoCore.OutputData.XML ), new XElement( tns + "Declared", new XAttribute(XMLNames.Report_Results_Unit_Attr, key), - declaredCO2.ToXMLFormat( 2) + declaredCO2.ToMinSignificantDigits(3, 2) ), new XElement( tns + "Verified", new XAttribute(XMLNames.Report_Results_Unit_Attr, key), - verifiedCO2.ToXMLFormat( 2) + verifiedCO2.ToMinSignificantDigits(3, 2) ) ), new XElement(tns + "C_VTP", cVtp.ToXMLFormat(4))); -- GitLab