Closed ericberman closed 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.
Still wrong for 68.88, or at least inconsistent with the web (Android shows 68:52, web shows 68.53)
see user bn.rochecave
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.