| 1 | static long toM(long l) {
 | 
| 2 | ret (l+1024*1024-1)/(1024*1024); | 
| 3 | } | 
| 4 | |
| 5 | static S toM(long l, int digits) {
 | 
| 6 | ret formatDouble(toM_double(l), digits); | 
| 7 | } | 
Began life as a copy of #1001666
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, odhhsrjjbcgr, podlckwnjdmb, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1001952 | 
| Snippet name: | toM - convert bytes to (binary) megabytes | 
| Eternal ID of this version: | #1001952/1 | 
| Text MD5: | ab109ca1452512857b4cdf4dad05f217 | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-07-03 15:23:36 | 
| Source code size: | 149 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 1356 / 1652 | 
| Referenced in: | [show references] |