1 | sS formatIntWithSpaces(int i, int len) { |
2 | ret padLeft(str(i), len); |
3 | } |
4 | |
5 | sS formatIntWithSpaces(long l, int len) { |
6 | ret padLeft(str(l), len); |
7 | } |
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: | 223 / 265 |
Version history: | 2 change(s) |
Referenced in: | [show references] |