We're dividing 13217847 by 798 
Our goal is to divide 13217847 by 798.

On to step 1:
1 divided by 798 is 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 798

Step 2:
If we divide 13 by 798, we get 0 and a remainder of 13.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 13 to get 13.
Take the next digit (2) from the dividend and append it to 13, then repeat: 132 / 798

Step 3:
When dividing 132 by 798, we get 0 with a remainder of 132.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 132 leaves us with 132.
Append the next digit (1) from the dividend to 132 and continue with: 1321 / 798

Let's proceed to step 4:
798 can be fit into 1321 1 times, resulting in a remainder of 523.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 798 from 1321, we get 523.
Include the next digit (7) from the dividend after 523, then repeat: 5237 / 798

On to step 5:
If we divide 5237 by 798, we get 6 and a remainder of 449.
The next digit of our result is 6. 
Result so far: 16.0
If we take 4788 away from 5237, we end up with 449.
Grab the next digit (8) from the dividend, add it to 449, then carry on: 4498 / 798

On to step 6:
798 can be fit into 4498 5 times, resulting in a remainder of 508.
The number 5 becomes the next digit in our result. 
Result so far: 165.0
Subtract 3990 from 4498 to get 508.
Grab the next digit (4) from the dividend, add it to 508, then carry on: 5084 / 798

Going ahead to step 7:
The number 798 fits into 5084 6 times, leaving a remainder of 296.
Write down 6 as next digit of the result. 
Result so far: 1656.0
Deduct 4788 from 5084 and we're left with 296.
Fetch the next digit (7) from the dividend, attach it to 296 and continue: 2967 / 798

Going ahead to step 8:
If we divide 2967 by 798, we get 3 and a remainder of 573.
Use 3 as the next digit of our solution. 
Result so far: 16563.0
If we take 2394 away from 2967, we end up with 573.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5730, and continue the process.

Moving on to step 9:
798 can be fit into 5730 7 times, resulting in a remainder of 144.
The number 7 becomes the next digit in our result. 
Result so far: 16563.7
Subtracting 5586 from 5730 leaves us with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Step 10:
If we divide 1440 by 798, we get 1 and a remainder of 642.
Write down 1 as next digit of the result. 
Result so far: 16563.71
Subtract 798 from 1440 to get 642.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6420, and continue the process.

Step 11:
If we divide 6420 by 798, we get 8 and a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 16563.718
If we subtract 6384 from 6420, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 12:
When dividing 360 by 798, we get 0 with a remainder of 360.
Write down 0 as next digit of the result. 
Result so far: 16563.718
The remainder is 360 after subtracting 0 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Let's proceed to step 13:
When dividing 3600 by 798, we get 4 with a remainder of 408.
Put 4 as the next digit of the answer. 
Result so far: 16563.71804
The remainder is 408 after subtracting 3192 from 3600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Moving on to step 14:
When dividing 4080 by 798, we get 5 with a remainder of 90.
The next digit of our result is 5. 
Result so far: 16563.718045
If we take 3990 away from 4080, we end up with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Going ahead to step 15:
798 can be fit into 900 1 times, resulting in a remainder of 102.
The number 1 becomes the next digit in our result. 
Result so far: 16563.7180451
Subtracting 798 from 900 leaves us with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Advancing to step 16:
If we divide 1020 by 798, we get 1 and a remainder of 222.
The number 1 becomes the next digit in our result. 
Result so far: 16563.71804511
If we subtract 798 from 1020, we get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

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