We're dividing 608742 by 40 
We want to divide 608742 by 40.

Step 1:
If we divide 6 by 40, we get 0 and a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Bring next digit (0) of the dividend behind the 6 and repeat the process: 60 / 40

On to step 2:
If we divide 60 by 40, we get 1 and a remainder of 20.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 40 from 60 to get 20.
Include the next digit (8) from the dividend after 20, then repeat: 208 / 40

Let's proceed to step 3:
40 can be fit into 208 5 times, resulting in a remainder of 8.
Use 5 as the next digit of our solution. 
Result so far: 15.0
The remainder is 8 after subtracting 200 from 208.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 40

Let's proceed to step 4:
40 goes into 87 2 times with a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 152.0
The remainder is 7 after subtracting 80 from 87.
Grab the next digit (4) from the dividend, add it to 7, then carry on: 74 / 40

Let's proceed to step 5:
If we divide 74 by 40, we get 1 and a remainder of 34.
The next digit of our result is 1. 
Result so far: 1521.0
Subtract 40 from 74 to get 34.
Fetch the next digit (2) from the dividend, attach it to 34 and continue: 342 / 40

Let's proceed to step 6:
40 can be fit into 342 8 times, resulting in a remainder of 22.
The next digit of our result is 8. 
Result so far: 15218.0
Deduct 320 from 342 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
If we divide 220 by 40, we get 5 and a remainder of 20.
The next digit of our result is 5. 
Result so far: 15218.5
Subtracting 200 from 220 leaves us 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.

On to step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
The next digit of our result is 5. 
Result so far: 15218.55
If we take 200 away from 200, we end up 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.

The quotient of the division is 15218.55, and the remainder is 0.0.