We're dividing 604270 by 40 
Let's see how many times 40 fits into 604270.

Step 1:
6 divided by 40 is 0 with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Fetch the next digit (0) from the dividend, attach it to 6 and continue: 60 / 40

On to step 2:
40 can be fit into 60 1 times, resulting in a remainder of 20.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 40 from 60 and we're left with 20.
Fetch the next digit (4) from the dividend, attach it to 20 and continue: 204 / 40

Step 3:
40 can be fit into 204 5 times, resulting in a remainder of 4.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we take 200 away from 204, we end up with 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 40

On to step 4:
42 divided by 40 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 151.0
If we take 40 away from 42, we end up with 2.
Include the next digit (7) from the dividend after 2, then repeat: 27 / 40

Moving on to step 5:
If we divide 27 by 40, we get 0 and a remainder of 27.
The next digit of our result is 0. 
Result so far: 1510.0
Subtract 0 from 27 to get 27.
Fetch the next digit (0) from the dividend, attach it to 27 and continue: 270 / 40

Let's proceed to step 6:
270 divided by 40 is 6 with a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 15106.0
If we subtract 240 from 270, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 7:
When dividing 300 by 40, we get 7 with a remainder of 20.
The next digit of our result is 7. 
Result so far: 15106.7
If we take 280 away from 300, 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.

Step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 15106.75
Subtract 200 from 200 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.

Moving on to step 9:
0 divided by 40 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 15106.75
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.

Going ahead to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 15106.75
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 15106.75 with a remaining 0.0.