From a4e28177cd320d39d3c06085d2f186b0b9ed0147 Mon Sep 17 00:00:00 2001 From: "harald.martini@student.tugraz.at" <harald.martini@student.tugraz.at> Date: Mon, 28 Jun 2021 09:19:15 +0200 Subject: [PATCH] Replaced ToMinSignificantDigits with ToXmlFormat in XMLCustomerReport --- .../CustomerInformationFile/XMLCustomerReport.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/CustomerInformationFile/XMLCustomerReport.cs b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/CustomerInformationFile/XMLCustomerReport.cs index 8d71e2d53f..4e792ba786 100644 --- a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/CustomerInformationFile/XMLCustomerReport.cs +++ b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/CustomerInformationFile/XMLCustomerReport.cs @@ -220,7 +220,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.CustomerInformation XMLHelper.ValueAsUnit(result.TotalVehicleMass, XMLNames.Unit_kg)), new XElement(tns + XMLNames.Report_ResultEntry_Payload, XMLHelper.ValueAsUnit(result.Payload, XMLNames.Unit_kg)), result.PassengerCount.HasValue && result.PassengerCount.Value > 0 - ? new XElement(tns + "PassengerCount", result.PassengerCount.Value.ToXMLFormat(3, 1)) + ? new XElement(tns + "PassengerCount", result.PassengerCount.Value.ToXMLFormat(3)) : null, new XElement(tns + XMLNames.Report_Result_FuelMode, result.FuelData.Count > 1 ? XMLNames.Report_Result_FuelMode_Val_Dual : XMLNames.Report_Result_FuelMode_Val_Single), -- GitLab