Libraryless. Click here for Pure Java version (9363L/51K).
sS addPlusIfPositive(S s) { ret isPositiveNumberString(s) ? addPrefix("+", s) : s; }
Began life as a copy of #1036217
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1036221 |
| Snippet name: | addPlusIfPositive |
| Eternal ID of this version: | #1036221/1 |
| Text MD5: | 0f8be53dce480095530a3cd2de99a37b |
| Transpilation MD5: | 16dcba9edb555ce15f0df84351b00e5d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-10-25 21:57:01 |
| Source code size: | 88 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 371 / 471 |
| Referenced in: | [show references] |