995898 ÷ 40 
Our goal is to divide 995898 by 40.

Advancing to step 1:
If we divide 9 by 40, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 40

Step 2:
If we divide 99 by 40, we get 2 and 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.
Take the next digit (5) from the dividend and append it to 19, then repeat: 195 / 40

Advancing to step 3:
40 can be fit into 195 4 times, resulting in a remainder of 35.
Write down 4 as next digit of the result. 
Result so far: 24.0
Subtract 160 from 195 to get 35.
Fetch the next digit (8) from the dividend, attach it to 35 and continue: 358 / 40

Let's proceed to step 4:
When dividing 358 by 40, we get 8 with a remainder of 38.
The next digit of our result is 8. 
Result so far: 248.0
If we take 320 away from 358, we end up with 38.
Grab the next digit (9) from the dividend, add it to 38, then carry on: 389 / 40

Let's proceed to step 5:
The number 40 fits into 389 9 times, leaving a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 2489.0
Subtracting 360 from 389 leaves us with 29.
Fetch the next digit (8) from the dividend, attach it to 29 and continue: 298 / 40

Step 6:
298 divided by 40 is 7 with a remainder of 18.
Put 7 as the next digit of the answer. 
Result so far: 24897.0
Deduct 280 from 298 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
The number 40 fits into 180 4 times, leaving a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 24897.4
If we subtract 160 from 180, we get 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 next digit of our result is 5. 
Result so far: 24897.45
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.

Advancing to step 9:
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: 24897.45
If we subtract 0 from 0, 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.

Going ahead to step 10:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 24897.45
If we subtract 0 from 0, 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.

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