History of Idiom 156 > diff from v9 to v10
Edit summary for version 10 by ricardo_sdl:
New PHP implementation by user [ricardo_sdl]
New PHP implementation by user [ricardo_sdl]
↷
Version 9
2017-10-28, 10:59:52
Version 10
2018-09-04, 12:42:57
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.