Title: How to convert a number to a string with leading zeroesprocedure TForm1.Button1Click(Sender: TObject);begin label1.Caption := Format('%.*d', [10, 1456]); // --- 0000001456end;