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

Advancing to step 1:
The number 97 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 97

On to step 2:
The number 97 fits into 39 0 times, leaving a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Bring next digit (7) of the dividend behind the 39 and repeat the process: 397 / 97

Let's proceed to step 3:
The number 97 fits into 397 4 times, leaving a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 388 from 397 leaves us with 9.
Append the next digit (3) from the dividend to 9 and continue with: 93 / 97

Step 4:
97 can be fit into 93 0 times, resulting in a remainder of 93.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
If we subtract 0 from 93, we get 93.
Append the next digit (4) from the dividend to 93 and continue with: 934 / 97

Let's proceed to step 5:
97 can be fit into 934 9 times, resulting in a remainder of 61.
The next digit of our result is 9. 
Result so far: 409.0
If we subtract 873 from 934, we get 61.
Fetch the next digit (7) from the dividend, attach it to 61 and continue: 617 / 97

Advancing to step 6:
617 divided by 97 is 6 with a remainder of 35.
Write down 6 as next digit of the result. 
Result so far: 4096.0
If we subtract 582 from 617, 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.

Going ahead to step 7:
97 can be fit into 350 3 times, resulting in a remainder of 59.
The next digit of our result is 3. 
Result so far: 4096.3
The remainder is 59 after subtracting 291 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Going ahead to step 8:
590 divided by 97 is 6 with a remainder of 8.
Write down 6 as next digit of the result. 
Result so far: 4096.36
If we subtract 582 from 590, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
80 divided by 97 is 0 with a remainder of 80.
The next digit of our result is 0. 
Result so far: 4096.36
Subtracting 0 from 80 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 10:
97 can be fit into 800 8 times, resulting in a remainder of 24.
Write down 8 as next digit of the result. 
Result so far: 4096.3608
The remainder is 24 after subtracting 776 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 11:
The number 97 fits into 240 2 times, leaving a remainder of 46.
The next digit of our result is 2. 
Result so far: 4096.36082
Subtract 194 from 240 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 12:
460 divided by 97 is 4 with a remainder of 72.
Put 4 as the next digit of the answer. 
Result so far: 4096.360824
If we take 388 away from 460, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 13:
When dividing 720 by 97, we get 7 with a remainder of 41.
Record the quotient 7 as the next digit in the result. 
Result so far: 4096.3608247
Subtracting 679 from 720 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 14:
If we divide 410 by 97, we get 4 and a remainder of 22.
The next digit of our result is 4. 
Result so far: 4096.36082474
If we subtract 388 from 410, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

In conclusion, the division gives 4096.36082474 with a balance of 2.2e-08.