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

3
LINES

< > BotCompany Repo | #1018595 // zeroToEmpty

JavaX fragment (include)

static S zeroToEmpty(Int i) {
  ret i == null || i == 0 ? "" : str(i);
}

Author comment

Began life as a copy of #1018593

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1018595
Snippet name: zeroToEmpty
Eternal ID of this version: #1018595/1
Text MD5: cf4457158e8b25575a7202044013fab4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-06 22:23:28
Source code size: 74 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 251 / 296
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027131 - emptyIfOne