959886 ÷ 40 
Let's see how many times 40 fits into 959886.

Let's proceed to step 1:
If we divide 9 by 40, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 40

On to step 2:
95 divided by 40 is 2 with a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 80 from 95 and we're left with 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 40

On to step 3:
40 goes into 159 3 times with a remainder of 39.
Write down 3 as next digit of the result. 
Result so far: 23.0
Subtracting 120 from 159 leaves us with 39.
Append the next digit (8) from the dividend to 39 and continue with: 398 / 40

Advancing to step 4:
If we divide 398 by 40, we get 9 and a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 239.0
Subtracting 360 from 398 leaves us with 38.
Bring next digit (8) of the dividend behind the 38 and repeat the process: 388 / 40

Let's proceed to step 5:
40 goes into 388 9 times with a remainder of 28.
Record the quotient 9 as the next digit in the result. 
Result so far: 2399.0
If we take 360 away from 388, we end up with 28.
Take the next digit (6) from the dividend and append it to 28, then repeat: 286 / 40

Step 6:
When dividing 286 by 40, we get 7 with a remainder of 6.
Use 7 as the next digit of our solution. 
Result so far: 23997.0
If we take 280 away from 286, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 7:
When dividing 60 by 40, we get 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 23997.1
Deduct 40 from 60 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.

Advancing to step 8:
200 divided by 40 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 23997.15
Deduct 200 from 200 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.

Let's proceed to step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 23997.15
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.

Advancing to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 23997.15
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.

The final outcome is 23997.15, with a leftover of 0.0.