Contact: aviboots(AT)netvision.net.il
41,565 questions
54,185 answers
573 users
import Foundation let number = 319 // Format with leading zeros (6 digits total) let formatted = String(format: "%06d", number) print(formatted) /* run: 000319 */