Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit a4e28177 authored by Harald Martini's avatar Harald Martini
Browse files

Replaced ToMinSignificantDigits with ToXmlFormat in XMLCustomerReport

parent b3945215
No related branches found
No related tags found
No related merge requests found
......@@ -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),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment