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

On to step 1:
40 goes into 9 0 times with 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.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 40

Let's proceed to step 2:
40 can be fit into 99 2 times, resulting in 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.
Fetch the next digit (5) from the dividend, attach it to 19 and continue: 195 / 40

On to step 3:
40 goes into 195 4 times with a remainder of 35.
Use 4 as the next digit of our solution. 
Result so far: 24.0
If we take 160 away from 195, we end up with 35.
Take the next digit (2) from the dividend and append it to 35, then repeat: 352 / 40

Going ahead to step 4:
If we divide 352 by 40, we get 8 and a remainder of 32.
Record the quotient 8 as the next digit in the result. 
Result so far: 248.0
Subtracting 320 from 352 leaves us with 32.
Append the next digit (5) from the dividend to 32 and continue with: 325 / 40

On to step 5:
40 can be fit into 325 8 times, resulting in a remainder of 5.
The number 8 becomes the next digit in our result. 
Result so far: 2488.0
The remainder is 5 after subtracting 320 from 325.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 40

Step 6:
The number 40 fits into 50 1 times, leaving a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 24881.0
Deduct 40 from 50 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 7:
The number 40 fits into 100 2 times, leaving a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 24881.2
Deduct 80 from 100 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.

Moving on to step 8:
If we divide 200 by 40, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 24881.25
The remainder is 0 after subtracting 200 from 200.
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 9:
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: 24881.25
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.

Moving 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: 24881.25
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 result is 24881.25 with a remainder of 0.0.