958579 divided by 40 
Let's see how many times 40 fits into 958579.

Advancing 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
Subtracting 0 from 9 leaves us with 9.
Fetch the next digit (5) from the dividend, attach it to 9 and continue: 95 / 40

Going ahead to step 2:
40 can be fit into 95 2 times, resulting in a remainder of 15.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 80 from 95 and we're left with 15.
Grab the next digit (8) from the dividend, add it to 15, then carry on: 158 / 40

Going ahead to step 3:
158 divided by 40 is 3 with a remainder of 38.
Use 3 as the next digit of our solution. 
Result so far: 23.0
Subtracting 120 from 158 leaves us with 38.
Append the next digit (5) from the dividend to 38 and continue with: 385 / 40

Moving on to step 4:
40 can be fit into 385 9 times, resulting in a remainder of 25.
Put 9 as the next digit of the answer. 
Result so far: 239.0
Subtract 360 from 385 to get 25.
Fetch the next digit (7) from the dividend, attach it to 25 and continue: 257 / 40

Let's proceed to step 5:
When dividing 257 by 40, we get 6 with a remainder of 17.
The next digit of our result is 6. 
Result so far: 2396.0
Deduct 240 from 257 and we're left with 17.
Take the next digit (9) from the dividend and append it to 17, then repeat: 179 / 40

Advancing to step 6:
If we divide 179 by 40, we get 4 and a remainder of 19.
Use 4 as the next digit of our solution. 
Result so far: 23964.0
Deduct 160 from 179 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 7:
If we divide 190 by 40, we get 4 and a remainder of 30.
Put 4 as the next digit of the answer. 
Result so far: 23964.4
If we take 160 away from 190, we end up 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.

Step 8:
40 goes into 300 7 times with a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 23964.47
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.

On 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: 23964.475
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.

On to step 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 23964.475
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.

On to step 11:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 23964.475
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.

The final result is 23964.475 with a remainder of 0.0.