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

4
LINES

< > BotCompany Repo | #1028059 // renderPosNegScore2 - as "+x / -y"

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

Libraryless. Click here for Pure Java version (3200L/20K).

sS renderPosNegScore2(PosNeg pn) {
  if (pn == null) ret "";
  ret "+" + pn.nPos() + " / -" + pn.nNeg();
}

Author comment

Began life as a copy of #1027797

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: #1028059
Snippet name: renderPosNegScore2 - as "+x / -y"
Eternal ID of this version: #1028059/1
Text MD5: d5a4f3e8d524ad79e3435a1e19d0e5ac
Transpilation MD5: 40621511c66939497199cf04c8d389d4
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-15 12:29:04
Source code size: 109 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 182 / 266
Referenced in: [show references]