sS formatIntWithSpaces(int i, int len) { ret padLeft(str(i), len); } sS formatIntWithSpaces(long l, int len) { ret padLeft(str(l), len); }
Began life as a copy of #1012012
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: | #1029487 |
Snippet name: | formatIntWithSpaces - format an int (or long), pad with spaces on the left |
Eternal ID of this version: | #1029487/3 |
Text MD5: | 5e5e490c48dd161916cde5fca5863dd1 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-14 20:24:35 |
Source code size: | 149 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 224 / 266 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |