From 0dbbcf87bf9f77305faacc0974e19e129c65daa0 Mon Sep 17 00:00:00 2001 From: "harald.martini@student.tugraz.at" <harald.martini@student.tugraz.at> Date: Thu, 24 Jun 2021 11:48:02 +0200 Subject: [PATCH] Changed call of ToMinSignificantDigits --- .../VehicleInformationFile/XMLPrimaryBusVehicleReport.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLPrimaryBusVehicleReport.cs b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLPrimaryBusVehicleReport.cs index c1ef7d963b..ff17c7e086 100644 --- a/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLPrimaryBusVehicleReport.cs +++ b/VectoCore/VectoCore/OutputData/XML/DeclarationReports/VehicleInformationFile/XMLPrimaryBusVehicleReport.cs @@ -345,7 +345,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF new XElement(tns + XMLNames.Bus_SizeOfAirSupply, supply.CompressorSize), new XElement(tns + XMLNames.CompressorDrive, supply.CompressorDrive.GetLabel()), new XElement(tns + XMLNames.Vehicle_Clutch, supply.Clutch), - new XElement(tns + XMLNames.Bus_CompressorRatio, supply.Ratio.ToMinSignificantDigits(3)), + new XElement(tns + XMLNames.Bus_CompressorRatio, supply.Ratio.ToMinSignificantDigits(3,3)), new XElement(tns + XMLNames.Bus_SmartCompressionSystem, supply.SmartAirCompression), new XElement(tns + XMLNames.Bus_SmartRegenerationSystem, supply.SmartRegeneration), new XElement(tns + XMLNames.Bus_AirsuspensionControl, GetXMLAirsuspensionControl(consumer.AirsuspensionControl)), -- GitLab