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

4
LINES

< > BotCompany Repo | #1027794 // renderPosNegCounts

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

Libraryless. Click here for Pure Java version (3000L/19K).

sS renderPosNegCounts(PosNeg pn) {
  if (pn == null) ret "";
  ret "+" + l(pn.pos) + ", -" + l(pn.neg);
}

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: #1027794
Snippet name: renderPosNegCounts
Eternal ID of this version: #1027794/1
Text MD5: d6c7f6aa19c0824554539f6044a89780
Transpilation MD5: e6649bc50b4ec09948e7955bf2de7ad2
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:22:05
Source code size: 108 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 169 / 238
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1027797 - renderPosNegScoreAndCount