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

4
LINES

< > BotCompany Repo | #1035527 // appendPercent

JavaX fragment (include)

sS appendPercent(O o) {
  S s = str(o);
  ret endsWith(s, "%") ? s : s + " %";
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035527
Snippet name: appendPercent
Eternal ID of this version: #1035527/1
Text MD5: 36351fe51fdeaf8c92ec5af5e8486539
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-04 05:30:52
Source code size: 83 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 141 / 156
Referenced in: [show references]