From 7cf3684b5b83f84d5b16ea543591fa45e90bca44 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Sat, 30 Oct 2021 15:45:52 +0100 Subject: [PATCH] Simbrief parser: round tropopause --- Nasal/FMGC/SimbriefParser.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/FMGC/SimbriefParser.nas b/Nasal/FMGC/SimbriefParser.nas index 8fa4136f..6312b49c 100644 --- a/Nasal/FMGC/SimbriefParser.nas +++ b/Nasal/FMGC/SimbriefParser.nas @@ -270,7 +270,7 @@ var SimbriefParser = { fmgc.FMGCInternal.costIndex = me.OFP.getNode("general/costindex").getValue(); fmgc.FMGCInternal.costIndexSet = 1; fmgc.FMGCNodes.costIndex.setValue(fmgc.FMGCInternal.costIndex); - fmgc.FMGCInternal.tropo = me.OFP.getNode("general/avg_tropopause").getValue(); + fmgc.FMGCInternal.tropo = math.round(me.OFP.getNode("general/avg_tropopause").getValue(), 10); fmgc.FMGCInternal.tropoSet = 1; # Set cruise altitude