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

On to step 1:
40 can be fit into 9 0 times, resulting in a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 40

Moving on to step 2:
40 can be fit into 99 2 times, resulting in a remainder of 19.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 80 from 99, we get 19.
Fetch the next digit (5) from the dividend, attach it to 19 and continue: 195 / 40

On to step 3:
When dividing 195 by 40, we get 4 with a remainder of 35.
Use 4 as the next digit of our solution. 
Result so far: 24.0
Deduct 160 from 195 and we're left with 35.
Include the next digit (5) from the dividend after 35, then repeat: 355 / 40

Let's proceed to step 4:
40 can be fit into 355 8 times, resulting in a remainder of 35.
The next digit of our result is 8. 
Result so far: 248.0
If we subtract 320 from 355, we get 35.
Bring next digit (6) of the dividend behind the 35 and repeat the process: 356 / 40

Let's proceed to step 5:
The number 40 fits into 356 8 times, leaving a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 2488.0
The remainder is 36 after subtracting 320 from 356.
Grab the next digit (7) from the dividend, add it to 36, then carry on: 367 / 40

Let's proceed to step 6:
367 divided by 40 is 9 with a remainder of 7.
Record the quotient 9 as the next digit in the result. 
Result so far: 24889.0
Deduct 360 from 367 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
The number 40 fits into 70 1 times, leaving a remainder of 30.
The next digit of our result is 1. 
Result so far: 24889.1
Subtracting 40 from 70 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
300 divided by 40 is 7 with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 24889.17
Deduct 280 from 300 and we're left 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.

Going ahead to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 24889.175
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 10:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 24889.175
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.

On to step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 24889.175
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.

After the division, we end up with 24889.175 and a remainder of 0.0.