We look at the division of 40311902 by 879 
We want to divide 40311902 by 879.

Going ahead to step 1:
The number 879 fits into 4 0 times, leaving a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 879

Advancing to step 2:
If we divide 40 by 879, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Include the next digit (3) from the dividend after 40, then repeat: 403 / 879

Going ahead to step 3:
403 divided by 879 is 0 with a remainder of 403.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 403 after subtracting 0 from 403.
Bring next digit (1) of the dividend behind the 403 and repeat the process: 4031 / 879

On to step 4:
879 can be fit into 4031 4 times, resulting in a remainder of 515.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Deduct 3516 from 4031 and we're left with 515.
Fetch the next digit (1) from the dividend, attach it to 515 and continue: 5151 / 879

Going ahead to step 5:
879 can be fit into 5151 5 times, resulting in a remainder of 756.
The next digit of our result is 5. 
Result so far: 45.0
If we subtract 4395 from 5151, we get 756.
Append the next digit (9) from the dividend to 756 and continue with: 7569 / 879

Step 6:
If we divide 7569 by 879, we get 8 and a remainder of 537.
The next digit of our result is 8. 
Result so far: 458.0
If we subtract 7032 from 7569, we get 537.
Append the next digit (0) from the dividend to 537 and continue with: 5370 / 879

Going ahead to step 7:
5370 divided by 879 is 6 with a remainder of 96.
Record the quotient 6 as the next digit in the result. 
Result so far: 4586.0
Subtracting 5274 from 5370 leaves us with 96.
Take the next digit (2) from the dividend and append it to 96, then repeat: 962 / 879

Moving on to step 8:
962 divided by 879 is 1 with a remainder of 83.
Put 1 as the next digit of the answer. 
Result so far: 45861.0
Deduct 879 from 962 and we're left with 83.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Advancing to step 9:
830 divided by 879 is 0 with a remainder of 830.
Write down 0 as next digit of the result. 
Result so far: 45861.0
Deduct 0 from 830 and we're left with 830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8300, and continue the process.

Step 10:
879 can be fit into 8300 9 times, resulting in a remainder of 389.
Record the quotient 9 as the next digit in the result. 
Result so far: 45861.09
Subtract 7911 from 8300 to get 389.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3890, and continue the process.

Let's proceed to step 11:
If we divide 3890 by 879, we get 4 and a remainder of 374.
Write down 4 as next digit of the result. 
Result so far: 45861.094
Subtract 3516 from 3890 to get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Let's proceed to step 12:
3740 divided by 879 is 4 with a remainder of 224.
The number 4 becomes the next digit in our result. 
Result so far: 45861.0944
Subtracting 3516 from 3740 leaves us with 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

The quotient of the division is 45861.0944, and the remainder is 0.00224.