Let's divide 31785364 by 879
We want to figure out the number of times 31785364 can be divided by 879.

Let's proceed to step 1:
The number 879 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 879

On to step 2:
879 can be fit into 31 0 times, resulting in a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (7) from the dividend and append it to 31, then repeat: 317 / 879

Going ahead to step 3:
When dividing 317 by 879, we get 0 with a remainder of 317.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 317 leaves us with 317.
Include the next digit (8) from the dividend after 317, then repeat: 3178 / 879

Let's proceed to step 4:
879 can be fit into 3178 3 times, resulting in a remainder of 541.
The next digit of our result is 3. 
Result so far: 3.0
Subtract 2637 from 3178 to get 541.
Append the next digit (5) from the dividend to 541 and continue with: 5415 / 879

Moving on to step 5:
The number 879 fits into 5415 6 times, leaving a remainder of 141.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
Subtract 5274 from 5415 to get 141.
Append the next digit (3) from the dividend to 141 and continue with: 1413 / 879

Going ahead to step 6:
The number 879 fits into 1413 1 times, leaving a remainder of 534.
The next digit of our result is 1. 
Result so far: 361.0
Subtract 879 from 1413 to get 534.
Fetch the next digit (6) from the dividend, attach it to 534 and continue: 5346 / 879

On to step 7:
879 can be fit into 5346 6 times, resulting in a remainder of 72.
Put 6 as the next digit of the answer. 
Result so far: 3616.0
Subtract 5274 from 5346 to get 72.
Take the next digit (4) from the dividend and append it to 72, then repeat: 724 / 879

Moving on to step 8:
879 goes into 724 0 times with a remainder of 724.
Write down 0 as next digit of the result. 
Result so far: 36160.0
The remainder is 724 after subtracting 0 from 724.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7240, and continue the process.

Going ahead to step 9:
879 goes into 7240 8 times with a remainder of 208.
Record the quotient 8 as the next digit in the result. 
Result so far: 36160.8
Subtracting 7032 from 7240 leaves us with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

On to step 10:
879 can be fit into 2080 2 times, resulting in a remainder of 322.
Put 2 as the next digit of the answer. 
Result so far: 36160.82
Deduct 1758 from 2080 and we're left with 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Step 11:
The number 879 fits into 3220 3 times, leaving a remainder of 583.
Use 3 as the next digit of our solution. 
Result so far: 36160.823
Subtracting 2637 from 3220 leaves us with 583.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5830, and continue the process.

Going ahead to step 12:
The number 879 fits into 5830 6 times, leaving a remainder of 556.
Write down 6 as next digit of the result. 
Result so far: 36160.8236
If we subtract 5274 from 5830, we get 556.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5560, and continue the process.

Advancing to step 13:
The number 879 fits into 5560 6 times, leaving a remainder of 286.
Record the quotient 6 as the next digit in the result. 
Result so far: 36160.82366
If we subtract 5274 from 5560, we get 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

After the division, we end up with 36160.82366 and a remainder of 0.000286.