We look at the division of 642710 by 45 
We want to divide 642710 by 45.

Step 1:
If we divide 6 by 45, we get 0 and a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 45

Going ahead to step 2:
If we divide 64 by 45, we get 1 and a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 45 from 64 to get 19.
Grab the next digit (2) from the dividend, add it to 19, then carry on: 192 / 45

Moving on to step 3:
The number 45 fits into 192 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 14.0
The remainder is 12 after subtracting 180 from 192.
Grab the next digit (7) from the dividend, add it to 12, then carry on: 127 / 45

Let's proceed to step 4:
The number 45 fits into 127 2 times, leaving a remainder of 37.
Write down 2 as next digit of the result. 
Result so far: 142.0
Subtract 90 from 127 to get 37.
Append the next digit (1) from the dividend to 37 and continue with: 371 / 45

Going ahead to step 5:
When dividing 371 by 45, we get 8 with a remainder of 11.
The next digit of our result is 8. 
Result so far: 1428.0
Deduct 360 from 371 and we're left with 11.
Bring next digit (0) of the dividend behind the 11 and repeat the process: 110 / 45

Advancing to step 6:
45 goes into 110 2 times with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 14282.0
The remainder is 20 after subtracting 90 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 7:
45 goes into 200 4 times with a remainder of 20.
Record the quotient 4 as the next digit in the result. 
Result so far: 14282.4
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
45 can be fit into 200 4 times, resulting in a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 14282.44
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Our division results in 14282.44 with a remaining 0.02.