Libraryless. Click here for Pure Java version (140L/1K).
1 | sS formatSeconds(long ms, int digits) {
|
2 | ret formatDouble(toS(ms), digits); |
3 | } |
4 | |
5 | sS formatSeconds(Duration duration, int digits) {
|
6 | ret formatSeconds(duration.toMillis(), digits); |
7 | } |
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: | 694 / 861 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |