1 | static S renderElapsedTimePleasantly_100ms(long ms) { |
2 | double secs = toSeconds(ms); |
3 | if (secs >= 1) ret formatDouble(secs, 1) + " s"; |
4 | ret ms + " ms"; |
5 | } |
Began life as a copy of #1013915
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: | #1014777 |
Snippet name: | renderElapsedTimePleasantly_100ms |
Eternal ID of this version: | #1014777/1 |
Text MD5: | 05ba4f25314edd61285b6b7fa4a08c00 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-02 09:31:37 |
Source code size: | 159 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 408 / 468 |
Referenced in: | [show references] |