Convert seconds to compound duration: Difference between revisions
Convert seconds to compound duration (view source)
Revision as of 22:55, 12 April 2024
, 1 month ago→{{header|langur}}
Langurmonkey (talk | contribs) |
Langurmonkey (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2,548:
=={{header|langur}}==
<syntaxhighlight lang="langur">val .duration =
for[=[]] .dm in [7
} ~ [.sec],
}
for .seconds in [7259, 86400, 6000000] {
val .
write $"\.seconds:7; sec = "
writeln join ", ", for[=[]] .k of .
if .
}
}
|