Código
formatarTamanhoNumerico(iTamanho: Integer;
sValor: String): String;
begin
if (iTamanho > Length(sValor)) then begin
while(iTamanho > Length(sValor)) do begin
sValor := '0' + sValor;
end;
end;
Result := sValor;
end;
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009