We're dividing 900662 by 45 
We want to divide 900662 by 45.

On to step 1:
45 can be fit into 9 0 times, resulting in a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Fetch the next digit (0) from the dividend, attach it to 9 and continue: 90 / 45

Moving on to step 2:
45 can be fit into 90 2 times, resulting in a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 90 from 90, we get 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 45

On to step 3:
The number 45 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20.0
Subtract 0 from 0 to get 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 45

On to step 4:
45 goes into 6 0 times with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 200.0
If we subtract 0 from 6, we get 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 45

Going ahead to step 5:
45 goes into 66 1 times with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 2001.0
Subtracting 45 from 66 leaves us with 21.
Append the next digit (2) from the dividend to 21 and continue with: 212 / 45

Moving on to step 6:
If we divide 212 by 45, we get 4 and a remainder of 32.
Use 4 as the next digit of our solution. 
Result so far: 20014.0
Subtract 180 from 212 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 7:
When dividing 320 by 45, we get 7 with a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 20014.7
The remainder is 5 after subtracting 315 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
The number 45 fits into 50 1 times, leaving a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 20014.71
If we subtract 45 from 50, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 9:
45 goes into 50 1 times with a remainder of 5.
The next digit of our result is 1. 
Result so far: 20014.711
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Our division results in 20014.711 with a remaining 0.0005.