Let's divide 9954021 by 798
Our goal is to divide 9954021 by 798.

On to step 1:
If we divide 9 by 798, we get 0 and a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 798

Let's proceed to step 2:
The number 798 fits into 99 0 times, leaving a remainder of 99.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 99 after subtracting 0 from 99.
Grab the next digit (5) from the dividend, add it to 99, then carry on: 995 / 798

On to step 3:
995 divided by 798 is 1 with a remainder of 197.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 798 away from 995, we end up with 197.
Append the next digit (4) from the dividend to 197 and continue with: 1974 / 798

Going ahead to step 4:
798 can be fit into 1974 2 times, resulting in a remainder of 378.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Subtract 1596 from 1974 to get 378.
Append the next digit (0) from the dividend to 378 and continue with: 3780 / 798

Moving on to step 5:
798 goes into 3780 4 times with a remainder of 588.
The next digit of our result is 4. 
Result so far: 124.0
Deduct 3192 from 3780 and we're left with 588.
Grab the next digit (2) from the dividend, add it to 588, then carry on: 5882 / 798

Step 6:
If we divide 5882 by 798, we get 7 and a remainder of 296.
Write down 7 as next digit of the result. 
Result so far: 1247.0
If we take 5586 away from 5882, we end up with 296.
Grab the next digit (1) from the dividend, add it to 296, then carry on: 2961 / 798

Let's proceed to step 7:
2961 divided by 798 is 3 with a remainder of 567.
Put 3 as the next digit of the answer. 
Result so far: 12473.0
Deduct 2394 from 2961 and we're left with 567.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5670, and continue the process.

Step 8:
5670 divided by 798 is 7 with a remainder of 84.
Use 7 as the next digit of our solution. 
Result so far: 12473.7
Subtracting 5586 from 5670 leaves us with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 9:
When dividing 840 by 798, we get 1 with a remainder of 42.
Record the quotient 1 as the next digit in the result. 
Result so far: 12473.71
Deduct 798 from 840 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 10:
When dividing 420 by 798, we get 0 with a remainder of 420.
Write down 0 as next digit of the result. 
Result so far: 12473.71
If we subtract 0 from 420, we get 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

Advancing to step 11:
When dividing 4200 by 798, we get 5 with a remainder of 210.
Write down 5 as next digit of the result. 
Result so far: 12473.7105
Subtracting 3990 from 4200 leaves us with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Step 12:
If we divide 2100 by 798, we get 2 and a remainder of 504.
Record the quotient 2 as the next digit in the result. 
Result so far: 12473.71052
Deduct 1596 from 2100 and we're left with 504.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

Going ahead to step 13:
798 goes into 5040 6 times with a remainder of 252.
Put 6 as the next digit of the answer. 
Result so far: 12473.710526
If we take 4788 away from 5040, we end up with 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Going ahead to step 14:
2520 divided by 798 is 3 with a remainder of 126.
Write down 3 as next digit of the result. 
Result so far: 12473.7105263
Deduct 2394 from 2520 and we're left with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

On to step 15:
The number 798 fits into 1260 1 times, leaving a remainder of 462.
The number 1 becomes the next digit in our result. 
Result so far: 12473.71052631
If we take 798 away from 1260, we end up with 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Our division results in 12473.71052631 with a remaining 4.62e-07.