Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1020542 // str_toGBorMB

JavaX fragment (include)

sS str_toGBorMB(bool gb, long n) {
  ret gb ? toG(n) + " GB" : toM(n) + " MB";
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020542
Snippet name: str_toGBorMB
Eternal ID of this version: #1020542/1
Text MD5: 641cf15a146f5ea192fad441a2fc1389
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-26 01:40:47
Source code size: 81 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 295 / 409
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)