How to enter numerical data?

Indentation's a bit screwy, but what is that for loop doing multiplying by powers of ten?