PPRuNe Forums - View Single Post - Tenth of hour
Thread: Tenth of hour
View Single Post
Old 9th Feb 2004, 07:52
  #4 (permalink)  
Bealzebub
 
Join Date: Nov 1999
Posts: 2,312
Likes: 0
Received 0 Likes on 0 Posts
Sorry I thought I was being helpful.
Clearly you cannot get it right unless the block time is divisible by 6 minute units ( unless you use two decimal places !) Given your need to achieve micro accuracy you could convert them to the nearest decimal unit of 6 minutes then keep a running total of a plus and minus column to achieve a sort of running balance.

good luck (don't get too bored. )
Bealzebub is offline