We're dividing 31780862 by 799 
Our goal is to divide 31780862 by 799.

On to step 1:
799 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 799

Let's proceed to step 2:
31 divided by 799 is 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Include the next digit (7) from the dividend after 31, then repeat: 317 / 799

Moving on to step 3:
799 goes into 317 0 times with a remainder of 317.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 317 leaves us with 317.
Bring next digit (8) of the dividend behind the 317 and repeat the process: 3178 / 799

Going ahead to step 4:
799 can be fit into 3178 3 times, resulting in a remainder of 781.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
The remainder is 781 after subtracting 2397 from 3178.
Fetch the next digit (0) from the dividend, attach it to 781 and continue: 7810 / 799

Moving on to step 5:
When dividing 7810 by 799, we get 9 with a remainder of 619.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtracting 7191 from 7810 leaves us with 619.
Append the next digit (8) from the dividend to 619 and continue with: 6198 / 799

Moving on to step 6:
The number 799 fits into 6198 7 times, leaving a remainder of 605.
Record the quotient 7 as the next digit in the result. 
Result so far: 397.0
The remainder is 605 after subtracting 5593 from 6198.
Include the next digit (6) from the dividend after 605, then repeat: 6056 / 799

Advancing to step 7:
799 goes into 6056 7 times with a remainder of 463.
Put 7 as the next digit of the answer. 
Result so far: 3977.0
Subtract 5593 from 6056 to get 463.
Grab the next digit (2) from the dividend, add it to 463, then carry on: 4632 / 799

On to step 8:
4632 divided by 799 is 5 with a remainder of 637.
Put 5 as the next digit of the answer. 
Result so far: 39775.0
If we take 3995 away from 4632, we end up with 637.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6370, and continue the process.

Moving on to step 9:
799 goes into 6370 7 times with a remainder of 777.
The next digit of our result is 7. 
Result so far: 39775.7
Subtract 5593 from 6370 to get 777.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7770, and continue the process.

Moving on to step 10:
The number 799 fits into 7770 9 times, leaving a remainder of 579.
The next digit of our result is 9. 
Result so far: 39775.79
Deduct 7191 from 7770 and we're left with 579.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5790, and continue the process.

Advancing to step 11:
The number 799 fits into 5790 7 times, leaving a remainder of 197.
The next digit of our result is 7. 
Result so far: 39775.797
Deduct 5593 from 5790 and we're left with 197.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1970, and continue the process.

Let's proceed to step 12:
When dividing 1970 by 799, we get 2 with a remainder of 372.
Use 2 as the next digit of our solution. 
Result so far: 39775.7972
Deduct 1598 from 1970 and we're left with 372.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

Step 13:
3720 divided by 799 is 4 with a remainder of 524.
Write down 4 as next digit of the result. 
Result so far: 39775.79724
The remainder is 524 after subtracting 3196 from 3720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5240, and continue the process.

Step 14:
799 can be fit into 5240 6 times, resulting in a remainder of 446.
The number 6 becomes the next digit in our result. 
Result so far: 39775.797246
Deduct 4794 from 5240 and we're left with 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

On to step 15:
799 can be fit into 4460 5 times, resulting in a remainder of 465.
Record the quotient 5 as the next digit in the result. 
Result so far: 39775.7972465
If we take 3995 away from 4460, we end up with 465.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4650, and continue the process.

On to step 16:
If we divide 4650 by 799, we get 5 and a remainder of 655.
The number 5 becomes the next digit in our result. 
Result so far: 39775.79724655
The remainder is 655 after subtracting 3995 from 4650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6550, and continue the process.

The quotient of the division is 39775.79724655, and the remainder is 6.55e-07.