1 | sS formatMinutesColonSeconds(long ms) { |
2 | long seconds = iround(toSeconds(ms)); |
3 | ret seconds/60 + ":" + formatInt(mod(seconds, 60), 2); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020551 |
Snippet name: | formatMinutesColonSeconds - for a millisecond argument |
Eternal ID of this version: | #1020551/1 |
Text MD5: | dcd4c8cadd7010c6713556ac5a440365 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-26 19:46:38 |
Source code size: | 141 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 311 / 330 |
Referenced in: | [show references] |