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

On to step 1:
When dividing 3 by 799, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 799

Going ahead to step 2:
When dividing 31 by 799, we get 0 with 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 (5) from the dividend and append it to 31, then repeat: 315 / 799

Let's proceed to step 3:
799 goes into 315 0 times with a remainder of 315.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 315, we get 315.
Grab the next digit (6) from the dividend, add it to 315, then carry on: 3156 / 799

Step 4:
799 can be fit into 3156 3 times, resulting in a remainder of 759.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 2397 from 3156, we get 759.
Include the next digit (3) from the dividend after 759, then repeat: 7593 / 799

Moving on to step 5:
The number 799 fits into 7593 9 times, leaving a remainder of 402.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
If we take 7191 away from 7593, we end up with 402.
Fetch the next digit (5) from the dividend, attach it to 402 and continue: 4025 / 799

On to step 6:
If we divide 4025 by 799, we get 5 and a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 395.0
Subtract 3995 from 4025 to get 30.
Append the next digit (4) from the dividend to 30 and continue with: 304 / 799

Advancing to step 7:
The number 799 fits into 304 0 times, leaving a remainder of 304.
Put 0 as the next digit of the answer. 
Result so far: 3950.0
The remainder is 304 after subtracting 0 from 304.
Take the next digit (4) from the dividend and append it to 304, then repeat: 3044 / 799

Let's proceed to step 8:
3044 divided by 799 is 3 with a remainder of 647.
The number 3 becomes the next digit in our result. 
Result so far: 39503.0
Deduct 2397 from 3044 and we're left with 647.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6470, and continue the process.

Advancing to step 9:
When dividing 6470 by 799, we get 8 with a remainder of 78.
The next digit of our result is 8. 
Result so far: 39503.8
Subtracting 6392 from 6470 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Let's proceed to step 10:
799 can be fit into 780 0 times, resulting in a remainder of 780.
Use 0 as the next digit of our solution. 
Result so far: 39503.8
Subtracting 0 from 780 leaves us with 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Step 11:
The number 799 fits into 7800 9 times, leaving a remainder of 609.
Put 9 as the next digit of the answer. 
Result so far: 39503.809
Subtracting 7191 from 7800 leaves us with 609.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6090, and continue the process.

On to step 12:
6090 divided by 799 is 7 with a remainder of 497.
Record the quotient 7 as the next digit in the result. 
Result so far: 39503.8097
Subtract 5593 from 6090 to get 497.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4970, and continue the process.

Moving on to step 13:
4970 divided by 799 is 6 with a remainder of 176.
Put 6 as the next digit of the answer. 
Result so far: 39503.80976
Deduct 4794 from 4970 and we're left with 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Step 14:
When dividing 1760 by 799, we get 2 with a remainder of 162.
Record the quotient 2 as the next digit in the result. 
Result so far: 39503.809762
Subtract 1598 from 1760 to get 162.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1620, and continue the process.

Advancing to step 15:
When dividing 1620 by 799, we get 2 with a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 39503.8097622
The remainder is 22 after subtracting 1598 from 1620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

After the division, we end up with 39503.8097622 and a remainder of 2.2e-07.