We're dividing 21647042 by 798 
We want to figure out the number of times 21647042 can be divided by 798.

Let's proceed to step 1:
2 divided by 798 is 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 798

Let's proceed to step 2:
21 divided by 798 is 0 with a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 21 to get 21.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 798

Step 3:
The number 798 fits into 216 0 times, leaving a remainder of 216.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 216 to get 216.
Append the next digit (4) from the dividend to 216 and continue with: 2164 / 798

Advancing to step 4:
If we divide 2164 by 798, we get 2 and a remainder of 568.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 1596 from 2164 and we're left with 568.
Bring next digit (7) of the dividend behind the 568 and repeat the process: 5687 / 798

Step 5:
5687 divided by 798 is 7 with a remainder of 101.
Use 7 as the next digit of our solution. 
Result so far: 27.0
Subtract 5586 from 5687 to get 101.
Include the next digit (0) from the dividend after 101, then repeat: 1010 / 798

Advancing to step 6:
If we divide 1010 by 798, we get 1 and a remainder of 212.
The next digit of our result is 1. 
Result so far: 271.0
Subtract 798 from 1010 to get 212.
Grab the next digit (4) from the dividend, add it to 212, then carry on: 2124 / 798

Advancing to step 7:
798 can be fit into 2124 2 times, resulting in a remainder of 528.
The number 2 becomes the next digit in our result. 
Result so far: 2712.0
Subtract 1596 from 2124 to get 528.
Append the next digit (2) from the dividend to 528 and continue with: 5282 / 798

Advancing to step 8:
When dividing 5282 by 798, we get 6 with a remainder of 494.
Record the quotient 6 as the next digit in the result. 
Result so far: 27126.0
If we subtract 4788 from 5282, we get 494.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Moving on to step 9:
798 can be fit into 4940 6 times, resulting in a remainder of 152.
The number 6 becomes the next digit in our result. 
Result so far: 27126.6
If we take 4788 away from 4940, we end up with 152.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

On to step 10:
1520 divided by 798 is 1 with a remainder of 722.
The number 1 becomes the next digit in our result. 
Result so far: 27126.61
If we subtract 798 from 1520, we get 722.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7220, and continue the process.

Step 11:
798 goes into 7220 9 times with a remainder of 38.
The next digit of our result is 9. 
Result so far: 27126.619
If we subtract 7182 from 7220, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 12:
If we divide 380 by 798, we get 0 and a remainder of 380.
The next digit of our result is 0. 
Result so far: 27126.619
If we subtract 0 from 380, we get 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Moving on to step 13:
3800 divided by 798 is 4 with a remainder of 608.
The next digit of our result is 4. 
Result so far: 27126.61904
Subtract 3192 from 3800 to get 608.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6080, and continue the process.

Advancing to step 14:
798 goes into 6080 7 times with a remainder of 494.
Use 7 as the next digit of our solution. 
Result so far: 27126.619047
The remainder is 494 after subtracting 5586 from 6080.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4940, and continue the process.

Advancing to step 15:
4940 divided by 798 is 6 with a remainder of 152.
The next digit of our result is 6. 
Result so far: 27126.6190476
The remainder is 152 after subtracting 4788 from 4940.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

On to step 16:
The number 798 fits into 1520 1 times, leaving a remainder of 722.
The number 1 becomes the next digit in our result. 
Result so far: 27126.61904761
If we subtract 798 from 1520, we get 722.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7220, and continue the process.

The quotient of the division is 27126.61904761, and the remainder is 7.22e-07.