Let's divide 607186 by 40
Let's see how many times 40 fits into 607186.

Step 1:
6 divided by 40 is 0 with a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Include the next digit (0) from the dividend after 6, then repeat: 60 / 40

Moving on to step 2:
40 goes into 60 1 times with a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 40 away from 60, we end up with 20.
Take the next digit (7) from the dividend and append it to 20, then repeat: 207 / 40

Moving on to step 3:
40 can be fit into 207 5 times, resulting in a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 15.0
Deduct 200 from 207 and we're left with 7.
Bring next digit (1) of the dividend behind the 7 and repeat the process: 71 / 40

Going ahead to step 4:
71 divided by 40 is 1 with a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 151.0
If we subtract 40 from 71, we get 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 40

Step 5:
If we divide 318 by 40, we get 7 and a remainder of 38.
Record the quotient 7 as the next digit in the result. 
Result so far: 1517.0
Deduct 280 from 318 and we're left with 38.
Append the next digit (6) from the dividend to 38 and continue with: 386 / 40

On to step 6:
If we divide 386 by 40, we get 9 and a remainder of 26.
The number 9 becomes the next digit in our result. 
Result so far: 15179.0
Subtracting 360 from 386 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

On to step 7:
40 can be fit into 260 6 times, resulting in a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 15179.6
The remainder is 20 after subtracting 240 from 260.
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:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 15179.65
If we subtract 200 from 200, we 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.

On to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 15179.65
If we take 0 away from 0, 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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 15179.65
The remainder is 0 after subtracting 0 from 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 final outcome is 15179.65, with a leftover of 0.0.