Let's divide 398797 by 98
We want to figure out the number of times 398797 can be divided by 98.

Step 1:
3 divided by 98 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 98

On to step 2:
When dividing 39 by 98, we get 0 with a remainder of 39.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Take the next digit (8) from the dividend and append it to 39, then repeat: 398 / 98

Going ahead to step 3:
398 divided by 98 is 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 392 from 398 leaves us with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 98

Let's proceed to step 4:
98 can be fit into 67 0 times, resulting in a remainder of 67.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
Subtract 0 from 67 to get 67.
Take the next digit (9) from the dividend and append it to 67, then repeat: 679 / 98

Moving on to step 5:
679 divided by 98 is 6 with a remainder of 91.
The next digit of our result is 6. 
Result so far: 406.0
Subtract 588 from 679 to get 91.
Include the next digit (7) from the dividend after 91, then repeat: 917 / 98

On to step 6:
917 divided by 98 is 9 with a remainder of 35.
Put 9 as the next digit of the answer. 
Result so far: 4069.0
If we subtract 882 from 917, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 7:
If we divide 350 by 98, we get 3 and a remainder of 56.
Use 3 as the next digit of our solution. 
Result so far: 4069.3
The remainder is 56 after subtracting 294 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 8:
If we divide 560 by 98, we get 5 and a remainder of 70.
Write down 5 as next digit of the result. 
Result so far: 4069.35
Subtract 490 from 560 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 9:
98 can be fit into 700 7 times, resulting in a remainder of 14.
The next digit of our result is 7. 
Result so far: 4069.357
Subtract 686 from 700 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 10:
The number 98 fits into 140 1 times, leaving a remainder of 42.
The next digit of our result is 1. 
Result so far: 4069.3571
If we subtract 98 from 140, we get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 11:
98 goes into 420 4 times with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 4069.35714
Subtract 392 from 420 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 12:
280 divided by 98 is 2 with a remainder of 84.
The next digit of our result is 2. 
Result so far: 4069.357142
The remainder is 84 after subtracting 196 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 13:
The number 98 fits into 840 8 times, leaving a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 4069.3571428
Subtracting 784 from 840 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Let's proceed to step 14:
98 can be fit into 560 5 times, resulting in a remainder of 70.
Put 5 as the next digit of the answer. 
Result so far: 4069.35714285
Subtract 490 from 560 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

The final result is 4069.35714285 with a remainder of 7e-08.