]> git.mxchange.org Git - flightgear.git/commit
Altimeter: fix output format for hPa/InHg settings
authorClément de l'Hamaide <clemaez@hotmail.fr>
Tue, 30 Dec 2014 15:04:33 +0000 (16:04 +0100)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Tue, 30 Dec 2014 15:20:08 +0000 (16:20 +0100)
commit84a26de9ae9ade8629dee53cac8b9357f0930690
tree4770bd4de76d6718245ba642472ac250f7491f90
parentdbc47efa18ebe27da5b0c11e3be7b897dfea7280
Altimeter: fix output format for hPa/InHg settings

Usually, in a real cockpit, altimeter shows hPa setting as an integer number and InHg setting is limited to 2 decimals

In aviation we don't need higher numeric precision
src/Instrumentation/altimeter.cxx
src/Instrumentation/altimeter.hxx