We're dividing 40011872 by 959 
Let's see how many times 959 fits into 40011872.

Advancing to step 1:
If we divide 4 by 959, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 959

Moving on to step 2:
The number 959 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 959

Step 3:
When dividing 400 by 959, we get 0 with a remainder of 400.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 400 leaves us with 400.
Include the next digit (1) from the dividend after 400, then repeat: 4001 / 959

Step 4:
When dividing 4001 by 959, we get 4 with a remainder of 165.
The next digit of our result is 4. 
Result so far: 4.0
If we take 3836 away from 4001, we end up with 165.
Bring next digit (1) of the dividend behind the 165 and repeat the process: 1651 / 959

Advancing to step 5:
If we divide 1651 by 959, we get 1 and a remainder of 692.
Record the quotient 1 as the next digit in the result. 
Result so far: 41.0
If we subtract 959 from 1651, we get 692.
Include the next digit (8) from the dividend after 692, then repeat: 6928 / 959

Moving on to step 6:
The number 959 fits into 6928 7 times, leaving a remainder of 215.
Record the quotient 7 as the next digit in the result. 
Result so far: 417.0
Subtracting 6713 from 6928 leaves us with 215.
Grab the next digit (7) from the dividend, add it to 215, then carry on: 2157 / 959

Advancing to step 7:
The number 959 fits into 2157 2 times, leaving a remainder of 239.
The number 2 becomes the next digit in our result. 
Result so far: 4172.0
If we take 1918 away from 2157, we end up with 239.
Bring next digit (2) of the dividend behind the 239 and repeat the process: 2392 / 959

Moving on to step 8:
2392 divided by 959 is 2 with a remainder of 474.
Record the quotient 2 as the next digit in the result. 
Result so far: 41722.0
If we subtract 1918 from 2392, we get 474.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4740, and continue the process.

Going ahead to step 9:
959 goes into 4740 4 times with a remainder of 904.
The next digit of our result is 4. 
Result so far: 41722.4
Subtracting 3836 from 4740 leaves us with 904.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9040, and continue the process.

Moving on to step 10:
959 can be fit into 9040 9 times, resulting in a remainder of 409.
Put 9 as the next digit of the answer. 
Result so far: 41722.49
The remainder is 409 after subtracting 8631 from 9040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4090, and continue the process.

Going ahead to step 11:
959 goes into 4090 4 times with a remainder of 254.
Write down 4 as next digit of the result. 
Result so far: 41722.494
If we take 3836 away from 4090, we end up with 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

Moving on to step 12:
959 goes into 2540 2 times with a remainder of 622.
Write down 2 as next digit of the result. 
Result so far: 41722.4942
If we subtract 1918 from 2540, we get 622.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6220, and continue the process.

Going ahead to step 13:
If we divide 6220 by 959, we get 6 and a remainder of 466.
The number 6 becomes the next digit in our result. 
Result so far: 41722.49426
If we subtract 5754 from 6220, we get 466.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4660, and continue the process.

Advancing to step 14:
If we divide 4660 by 959, we get 4 and a remainder of 824.
Record the quotient 4 as the next digit in the result. 
Result so far: 41722.494264
If we subtract 3836 from 4660, we get 824.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8240, and continue the process.

Going ahead to step 15:
8240 divided by 959 is 8 with a remainder of 568.
Write down 8 as next digit of the result. 
Result so far: 41722.4942648
If we take 7672 away from 8240, we end up with 568.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5680, and continue the process.

Advancing to step 16:
5680 divided by 959 is 5 with a remainder of 885.
Write down 5 as next digit of the result. 
Result so far: 41722.49426485
Deduct 4795 from 5680 and we're left with 885.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8850, and continue the process.

The final outcome is 41722.49426485, with a leftover of 8.85e-07.