From 047c3c891270bec9d61d82de1bbba0e99804806a Mon Sep 17 00:00:00 2001 From: "harald.martini@student.tugraz.at" <harald.martini@student.tugraz.at> Date: Mon, 28 Jun 2021 09:20:08 +0200 Subject: [PATCH] Replaced ToMinSignificantDigits with ToXmlFormat in XMLVTPReports --- .../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 e7b4282468..9d13cf0cbd 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.ToMinSignificantDigits(3, 2) + declaredCO2.ToXMLFormat( 2) ), new XElement( tns + "Verified", new XAttribute(XMLNames.Report_Results_Unit_Attr, key), - verifiedCO2.ToMinSignificantDigits(3, 2) + verifiedCO2.ToXMLFormat( 2) ) ), new XElement(tns + "C_VTP", cVtp.ToXMLFormat(4))); -- GitLab