Averages/Mean time of day: Difference between revisions

m
(→‎{{header|VBA}}: correct for negative value of angle ...)
Line 983:
{{works with|Julia|0.6}}
{{trans|MATLAB}}
<lang julia>functionusing meantime(times::Array, dlm::String=":")Statistics
 
function meantime(times::Array, dlm::String=":")
c = π / (12 * 60 * 60)
a = map(x -> parse.(Int, x), split.(times, dlm))
4,107

edits