9798641 ÷ 477 
We want to divide 9798641 by 477.

On to step 1:
477 goes into 9 0 times with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 477

Advancing to step 2:
477 goes into 97 0 times with a remainder of 97.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 97 after subtracting 0 from 97.
Bring next digit (9) of the dividend behind the 97 and repeat the process: 979 / 477

Moving on to step 3:
When dividing 979 by 477, we get 2 with a remainder of 25.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 954 from 979 to get 25.
Take the next digit (8) from the dividend and append it to 25, then repeat: 258 / 477

Step 4:
If we divide 258 by 477, we get 0 and a remainder of 258.
The next digit of our result is 0. 
Result so far: 20.0
If we subtract 0 from 258, we get 258.
Append the next digit (6) from the dividend to 258 and continue with: 2586 / 477

Let's proceed to step 5:
When dividing 2586 by 477, we get 5 with a remainder of 201.
The number 5 becomes the next digit in our result. 
Result so far: 205.0
Subtracting 2385 from 2586 leaves us with 201.
Take the next digit (4) from the dividend and append it to 201, then repeat: 2014 / 477

Moving on to step 6:
If we divide 2014 by 477, we get 4 and a remainder of 106.
The number 4 becomes the next digit in our result. 
Result so far: 2054.0
Subtract 1908 from 2014 to get 106.
Take the next digit (1) from the dividend and append it to 106, then repeat: 1061 / 477

Advancing to step 7:
477 goes into 1061 2 times with a remainder of 107.
Use 2 as the next digit of our solution. 
Result so far: 20542.0
Subtract 954 from 1061 to get 107.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1070, and continue the process.

Advancing to step 8:
If we divide 1070 by 477, we get 2 and a remainder of 116.
Put 2 as the next digit of the answer. 
Result so far: 20542.2
Subtracting 954 from 1070 leaves us with 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Moving on to step 9:
When dividing 1160 by 477, we get 2 with a remainder of 206.
Use 2 as the next digit of our solution. 
Result so far: 20542.22
The remainder is 206 after subtracting 954 from 1160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

The final outcome is 20542.22, with a leftover of 0.206.