Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1020552 // formatHoursColonMinutes - for a millisecond argument

JavaX fragment (include)

1  
sS formatHoursColonMinutes(long ms) {
2  
  long minutes = iround(toMinutes(ms));
3  
  ret minutes/60 + ":" + formatInt(mod(minutes, 60), 2);
4  
}

Author comment

Began life as a copy of #1020551

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: #1020552
Snippet name: formatHoursColonMinutes - for a millisecond argument
Eternal ID of this version: #1020552/1
Text MD5: 96b3aef42de07c222c1f88d4c925acbc
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:51:23
Source code size: 139 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 308 / 336
Referenced in: [show references]