<pre>function fillUpDigits theNum, digs  repeat until the length of theNum >= digs    put 0 before theNum  end repeat  return theNumend fillUpDigits</pre>