We look at the division of 9830222 by 797 
Let's see how many times 797 fits into 9830222.

Moving on to step 1:
The number 797 fits into 9 0 times, leaving 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.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 797

On to step 2:
797 goes into 98 0 times with a remainder of 98.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 98, we get 98.
Take the next digit (3) from the dividend and append it to 98, then repeat: 983 / 797

Step 3:
The number 797 fits into 983 1 times, leaving a remainder of 186.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 797 from 983 and we're left with 186.
Take the next digit (0) from the dividend and append it to 186, then repeat: 1860 / 797

Step 4:
If we divide 1860 by 797, we get 2 and a remainder of 266.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtract 1594 from 1860 to get 266.
Include the next digit (2) from the dividend after 266, then repeat: 2662 / 797

Let's proceed to step 5:
2662 divided by 797 is 3 with a remainder of 271.
Use 3 as the next digit of our solution. 
Result so far: 123.0
The remainder is 271 after subtracting 2391 from 2662.
Grab the next digit (2) from the dividend, add it to 271, then carry on: 2712 / 797

Going ahead to step 6:
When dividing 2712 by 797, we get 3 with a remainder of 321.
Use 3 as the next digit of our solution. 
Result so far: 1233.0
If we take 2391 away from 2712, we end up with 321.
Bring next digit (2) of the dividend behind the 321 and repeat the process: 3212 / 797

Advancing to step 7:
If we divide 3212 by 797, we get 4 and a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 12334.0
If we take 3188 away from 3212, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 8:
797 goes into 240 0 times with a remainder of 240.
Put 0 as the next digit of the answer. 
Result so far: 12334.0
Deduct 0 from 240 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Advancing to step 9:
797 goes into 2400 3 times with a remainder of 9.
The next digit of our result is 3. 
Result so far: 12334.03
The remainder is 9 after subtracting 2391 from 2400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 10:
When dividing 90 by 797, we get 0 with a remainder of 90.
Use 0 as the next digit of our solution. 
Result so far: 12334.03
Subtracting 0 from 90 leaves us 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.

On to step 11:
The number 797 fits into 900 1 times, leaving a remainder of 103.
Record the quotient 1 as the next digit in the result. 
Result so far: 12334.0301
If we subtract 797 from 900, we get 103.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Moving on to step 12:
When dividing 1030 by 797, we get 1 with a remainder of 233.
Put 1 as the next digit of the answer. 
Result so far: 12334.03011
If we take 797 away from 1030, we end up with 233.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2330, and continue the process.

Our division results in 12334.03011 with a remaining 0.000233.