Talk:Averages/Mean time of day: Difference between revisions

Agree with doubt over prescribed method.
(→‎TCL and rounding: Rounding fun!)
(Agree with doubt over prescribed method.)
 
Line 38:
23:47:40</lang>
As you can see, I get a different answer (several seconds out) and that's using exact arithmetic. (You might get different intermediate values — they're local-timezone-dependant without the <tt>-gmt true</tt> option — but the final formatted result should be the same.) –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 12:59, 28 August 2013 (UTC)
 
:I agree. The mean of midnight - 3583 seconds, midnight - 1180 seconds, midnight + 765 seconds, and midnight + 1039 seconds is midnight - 739.75 seconds, or 23:47:40 to the nearest second. All the solutions so far — except for the JavaScript (which doesn't use the specified method) and the Scala (whose actual result isn't shown) — are claiming 23:47:43. --[[User:Nig|Nig]] ([[User talk:Nig|talk]]) 12:18, 4 April 2020 (UTC)
557

edits