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

Going ahead to step 1:
9 divided by 40 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Bring next digit (9) of the dividend behind the 9 and repeat the process: 99 / 40

Going ahead to step 2:
99 divided by 40 is 2 with a remainder of 19.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 80 from 99 to get 19.
Grab the next digit (5) from the dividend, add it to 19, then carry on: 195 / 40

Going ahead to step 3:
If we divide 195 by 40, we get 4 and a remainder of 35.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
If we take 160 away from 195, we end up with 35.
Grab the next digit (5) from the dividend, add it to 35, then carry on: 355 / 40

Step 4:
When dividing 355 by 40, we get 8 with a remainder of 35.
The number 8 becomes the next digit in our result. 
Result so far: 248.0
If we subtract 320 from 355, we get 35.
Take the next digit (3) from the dividend and append it to 35, then repeat: 353 / 40

On to step 5:
40 can be fit into 353 8 times, resulting in a remainder of 33.
The number 8 becomes the next digit in our result. 
Result so far: 2488.0
If we subtract 320 from 353, we get 33.
Take the next digit (5) from the dividend and append it to 33, then repeat: 335 / 40

Let's proceed to step 6:
The number 40 fits into 335 8 times, leaving a remainder of 15.
Put 8 as the next digit of the answer. 
Result so far: 24888.0
Subtracting 320 from 335 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
The number 40 fits into 150 3 times, leaving a remainder of 30.
Put 3 as the next digit of the answer. 
Result so far: 24888.3
The remainder is 30 after subtracting 120 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
40 goes into 300 7 times with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 24888.37
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.

Let's proceed to step 9:
40 goes into 200 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 24888.375
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.

Going ahead to step 10:
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: 24888.375
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.

Step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 24888.375
Deduct 0 from 0 and we're left 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 final outcome is 24888.375, with a leftover of 0.0.