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

7
LINES

< > BotCompany Repo | #1027722 // zeroToNull - synonym of nullIfZero

JavaX fragment (include)

1  
static Int zeroToNull(Int i) {
2  
  ret nullIfZero(i);
3  
}
4  
5  
static Float zeroToNull(Float f) {
6  
  ret nullIfZero(f);
7  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027722
Snippet name: zeroToNull - synonym of nullIfZero
Eternal ID of this version: #1027722/2
Text MD5: e57f214df1eab4d58a378f58a8490964
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-03-19 14:37:35
Source code size: 118 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 205 / 238
Version history: 1 change(s)
Referenced in: [show references]