Round oil qt on crz page

Signed-off-by: merspieler <merspieler@airmail.cc>
This commit is contained in:
merspieler 2018-09-24 14:55:26 +02:00
parent 4da06612d2
commit 9e0cbe1a90

View file

@ -972,8 +972,8 @@ var canvas_lowerECAM_crz = {
},
update: func() {
me["Oil1"].setText(sprintf("%s", oil_qt1_actual.getValue()));
me["Oil2"].setText(sprintf("%s", oil_qt2_actual.getValue()));
me["Oil1"].setText(sprintf("%s", math.round(oil_qt1_actual.getValue(), 0.1)));
me["Oil2"].setText(sprintf("%s", math.round(oil_qt2_actual.getValue(), 0.1)));
me.updateBottomStatus();
},