Update ehs.py

let's make them to  3 decimals even
This commit is contained in:
Junzi Sun 2018-03-16 11:56:49 +01:00 committed by GitHub
parent d91ad261cd
commit ef40acdbfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -585,7 +585,7 @@ def trk50(msg):
if trk < 0:
trk = 360 + trk
return round(trk, 2)
return round(trk, 3)
def gs50(msg):
@ -726,7 +726,7 @@ def hdg53(msg):
if hdg < 0:
hdg = 360 + hdg
return round(hdg, 2)
return round(hdg, 3)
def ias53(msg):
@ -882,7 +882,7 @@ def hdg60(msg):
if hdg < 0:
hdg = 360 + hdg
return round(hdg, 2)
return round(hdg, 3)
def ias60(msg):