static long toG(long l) { ret (l+1024*1024*1024-1)/(1024*1024*1024); } static S toG(long l, int digits) { ret formatDouble(toG_double(l), digits); }
Began life as a copy of #1001952
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, odhhsrjjbcgr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018949 |
Snippet name: | toG - convert bytes to (binary) gigabytes |
Eternal ID of this version: | #1018949/1 |
Text MD5: | 876dd3849b0fc6d89714d0d3575da5cd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-17 13:04:35 |
Source code size: | 159 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 302 / 348 |
Referenced in: | [show references] |