Format string, integer with leading zeros January 13, 2023 by Tarik Use the format string "img_%03d.jpg" to get decimal numbers with three digits and leading zeros.