History of Idiom 156 > diff from v21 to v22
Edit summary for version 22 by programming-idioms.org:
[JS] Smaller indent
[JS] Smaller indent
↷
Version 21
2020-05-30, 00:33:20
Version 22
2020-05-30, 00:33:48
Idiom #156 Format integer with zero-padding
Assign to string s the value of integer i in 3 decimal digits. Pad with zeros if i < 100. Keep all digits if i ≥ 1000.
Idiom #156 Format integer with zero-padding
Assign to string s the value of integer i in 3 decimal digits. Pad with zeros if i < 100. Keep all digits if i ≥ 1000.