ericberman / MyFlightbookAndroid

Android client app for MyFlightbook.com
http://myflightbook.com
GNU General Public License v3.0
21 stars 8 forks source link

ToHHMM still not working right #228

Closed ericberman closed 3 years ago

ericberman commented 3 years ago

Math.round(105.05 60.0)/60.0 = 105.05 (correct) Math.round(105.05 60.0)/60.0 = 0.049999999999999...

This causes tohhmm to periodically underreport by one minute.

ericberman commented 3 years ago

Still wrong for 68.88, or at least inconsistent with the web (Android shows 68:52, web shows 68.53)

ericberman commented 3 years ago

see user bn.rochecave