Libraryless. Click here for Pure Java version (140L/1K).
sS formatSeconds(long ms, int digits) { ret formatDouble(toS(ms), digits); } sS formatSeconds(Duration duration, int digits) { ret formatSeconds(duration.toMillis(), digits); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012038 |
Snippet name: | formatSeconds |
Eternal ID of this version: | #1012038/2 |
Text MD5: | c1ecc06458165cedd68b62d7e83b7c75 |
Transpilation MD5: | 3c07f5a5e89121e388fcd1af6e9b32ef |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-04-02 16:46:31 |
Source code size: | 187 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 453 / 558 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |