Let's divide 662787 by 45
Let's see how many times 45 fits into 662787.

Step 1:
The number 45 fits into 6 0 times, leaving a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (6) from the dividend after 6, then repeat: 66 / 45

Moving on to step 2:
If we divide 66 by 45, we get 1 and a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 45 from 66 to get 21.
Include the next digit (2) from the dividend after 21, then repeat: 212 / 45

Going ahead to step 3:
When dividing 212 by 45, we get 4 with a remainder of 32.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Deduct 180 from 212 and we're left with 32.
Fetch the next digit (7) from the dividend, attach it to 32 and continue: 327 / 45

On to step 4:
If we divide 327 by 45, we get 7 and a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 147.0
If we take 315 away from 327, we end up with 12.
Grab the next digit (8) from the dividend, add it to 12, then carry on: 128 / 45

Going ahead to step 5:
The number 45 fits into 128 2 times, leaving a remainder of 38.
Record the quotient 2 as the next digit in the result. 
Result so far: 1472.0
If we take 90 away from 128, we end up with 38.
Append the next digit (7) from the dividend to 38 and continue with: 387 / 45

Step 6:
45 can be fit into 387 8 times, resulting in a remainder of 27.
Record the quotient 8 as the next digit in the result. 
Result so far: 14728.0
If we subtract 360 from 387, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 7:
270 divided by 45 is 6 with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 14728.6
The remainder is 0 after subtracting 270 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
45 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 14728.6
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
0 divided by 45 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 14728.6
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 14728.6 with a remaining 0.0.