• Logbook Pro Mobile for iOS and Android get major updates and now available on the Apple App Store and Google Play. Be sure to update at your earliest convenience. For details click here.
  • Shop the Black Friday sale event only at https://www.nc-software.com and use coupon code BF26 at checkout for 15% off.

Round up error decimals

seabird

Well-known member
Joined
Feb 28, 2002
Messages
237
Location
Netherlands
Hi all,

having been a long time user I was making some alterations to how I display my logbook for myself (mysql/php) and exported my full logbook in csv. Since I log in minutes my 1:05h flight is entered as 1.08333333333333333333333

This is not a problem until now I have finally discovered something my OCD is struggling with. LBP and the excel calculation (time in - time out) are off by 5min (I know, I know, nobody cares). Initially this had me looking for an entry typo of some sort, to discover, it is most likely a rounding error.

How many decimals does LBP store? 1.083333 and 1.666667 will round up over time...
 
Back
Top