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