RBC Interview Question

how to count decimal from one to a thousand