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

3
LINES

< > BotCompany Repo | #1027796 // intToStringWithExplicitPlus

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (37L/1K).

1  
sS intToStringWithExplicitPlus(int i) {
2  
  ret i > 0 ? "+" + i : str(i);
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027796
Snippet name: intToStringWithExplicitPlus
Eternal ID of this version: #1027796/1
Text MD5: 8089bc246c6ccd0df7fbb492d53844ca
Transpilation MD5: 4ae8ec89c1b0bcdefe893f4e6ab929ef
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-12 13:41:46
Source code size: 75 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 231 / 319
Referenced in: [show references]