We're dividing 22180247 by 997 
We want to divide 22180247 by 997.

On to step 1:
997 can be fit into 2 0 times, resulting in a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 997

Let's proceed to step 2:
22 divided by 997 is 0 with a remainder of 22.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 22 to get 22.
Fetch the next digit (1) from the dividend, attach it to 22 and continue: 221 / 997

Going ahead to step 3:
997 can be fit into 221 0 times, resulting in a remainder of 221.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 221, we end up with 221.
Bring next digit (8) of the dividend behind the 221 and repeat the process: 2218 / 997

On to step 4:
When dividing 2218 by 997, we get 2 with a remainder of 224.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 1994 from 2218 leaves us with 224.
Take the next digit (0) from the dividend and append it to 224, then repeat: 2240 / 997

On to step 5:
If we divide 2240 by 997, we get 2 and a remainder of 246.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Subtract 1994 from 2240 to get 246.
Fetch the next digit (2) from the dividend, attach it to 246 and continue: 2462 / 997

On to step 6:
2462 divided by 997 is 2 with a remainder of 468.
Use 2 as the next digit of our solution. 
Result so far: 222.0
Subtracting 1994 from 2462 leaves us with 468.
Append the next digit (4) from the dividend to 468 and continue with: 4684 / 997

On to step 7:
If we divide 4684 by 997, we get 4 and a remainder of 696.
Put 4 as the next digit of the answer. 
Result so far: 2224.0
If we take 3988 away from 4684, we end up with 696.
Fetch the next digit (7) from the dividend, attach it to 696 and continue: 6967 / 997

Let's proceed to step 8:
997 goes into 6967 6 times with a remainder of 985.
Write down 6 as next digit of the result. 
Result so far: 22246.0
If we take 5982 away from 6967, we end up with 985.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9850, and continue the process.

Step 9:
997 can be fit into 9850 9 times, resulting in a remainder of 877.
Put 9 as the next digit of the answer. 
Result so far: 22246.9
If we subtract 8973 from 9850, we get 877.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8770, and continue the process.

Advancing to step 10:
If we divide 8770 by 997, we get 8 and a remainder of 794.
Use 8 as the next digit of our solution. 
Result so far: 22246.98
Subtract 7976 from 8770 to get 794.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7940, and continue the process.

Advancing to step 11:
The number 997 fits into 7940 7 times, leaving a remainder of 961.
Use 7 as the next digit of our solution. 
Result so far: 22246.987
Subtracting 6979 from 7940 leaves us with 961.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9610, and continue the process.

On to step 12:
The number 997 fits into 9610 9 times, leaving a remainder of 637.
The next digit of our result is 9. 
Result so far: 22246.9879
Deduct 8973 from 9610 and we're left 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.

Advancing to step 13:
997 can be fit into 6370 6 times, resulting in a remainder of 388.
Use 6 as the next digit of our solution. 
Result so far: 22246.98796
Deduct 5982 from 6370 and we're left with 388.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3880, and continue the process.

On to step 14:
3880 divided by 997 is 3 with a remainder of 889.
Use 3 as the next digit of our solution. 
Result so far: 22246.987963
If we subtract 2991 from 3880, we get 889.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8890, and continue the process.

Moving on to step 15:
997 can be fit into 8890 8 times, resulting in a remainder of 914.
Write down 8 as next digit of the result. 
Result so far: 22246.9879638
Deduct 7976 from 8890 and we're left with 914.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9140, and continue the process.

On to step 16:
997 goes into 9140 9 times with a remainder of 167.
Write down 9 as next digit of the result. 
Result so far: 22246.98796389
Deduct 8973 from 9140 and we're left with 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

The quotient of the division is 22246.98796389, and the remainder is 1.67e-07.