History of Idiom 156 > diff from v5 to v6
Edit summary for version 6 by TheVTM:
[Rust] Fixed demo link
[Rust] Fixed demo link
↷
Version 5
2017-04-27, 10:38:26
Version 6
2017-04-29, 06:54:55
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.