We're dividing 8790972 by 397 
We're looking to find how many times 397 goes into 8790972.

Step 1:
8 divided by 397 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 397

Going ahead to step 2:
87 divided by 397 is 0 with a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Bring next digit (9) of the dividend behind the 87 and repeat the process: 879 / 397

Let's proceed to step 3:
The number 397 fits into 879 2 times, leaving a remainder of 85.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 794 from 879 leaves us with 85.
Grab the next digit (0) from the dividend, add it to 85, then carry on: 850 / 397

Step 4:
When dividing 850 by 397, we get 2 with a remainder of 56.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
Subtracting 794 from 850 leaves us with 56.
Take the next digit (9) from the dividend and append it to 56, then repeat: 569 / 397

Let's proceed to step 5:
397 can be fit into 569 1 times, resulting in a remainder of 172.
Use 1 as the next digit of our solution. 
Result so far: 221.0
Deduct 397 from 569 and we're left with 172.
Bring next digit (7) of the dividend behind the 172 and repeat the process: 1727 / 397

Let's proceed to step 6:
397 can be fit into 1727 4 times, resulting in a remainder of 139.
The next digit of our result is 4. 
Result so far: 2214.0
The remainder is 139 after subtracting 1588 from 1727.
Bring next digit (2) of the dividend behind the 139 and repeat the process: 1392 / 397

Advancing to step 7:
If we divide 1392 by 397, we get 3 and a remainder of 201.
Put 3 as the next digit of the answer. 
Result so far: 22143.0
Subtracting 1191 from 1392 leaves us with 201.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2010, and continue the process.

On to step 8:
397 can be fit into 2010 5 times, resulting in a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 22143.5
The remainder is 25 after subtracting 1985 from 2010.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 9:
397 can be fit into 250 0 times, resulting in a remainder of 250.
Record the quotient 0 as the next digit in the result. 
Result so far: 22143.5
If we subtract 0 from 250, we get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Going ahead to step 10:
The number 397 fits into 2500 6 times, leaving a remainder of 118.
The number 6 becomes the next digit in our result. 
Result so far: 22143.506
If we take 2382 away from 2500, we end up with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

On to step 11:
397 can be fit into 1180 2 times, resulting in a remainder of 386.
Put 2 as the next digit of the answer. 
Result so far: 22143.5062
The remainder is 386 after subtracting 794 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3860, and continue the process.

Step 12:
When dividing 3860 by 397, we get 9 with a remainder of 287.
Write down 9 as next digit of the result. 
Result so far: 22143.50629
Subtract 3573 from 3860 to get 287.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2870, and continue the process.

On to step 13:
The number 397 fits into 2870 7 times, leaving a remainder of 91.
The number 7 becomes the next digit in our result. 
Result so far: 22143.506297
Subtract 2779 from 2870 to get 91.
Since there are no more digits in the dividend, we add a zero to the remainder making it 910, and continue the process.

Going ahead to step 14:
The number 397 fits into 910 2 times, leaving a remainder of 116.
The next digit of our result is 2. 
Result so far: 22143.5062972
If we subtract 794 from 910, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Step 15:
397 can be fit into 1160 2 times, resulting in a remainder of 366.
The next digit of our result is 2. 
Result so far: 22143.50629722
If we take 794 away from 1160, we end up with 366.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3660, and continue the process.

The final result is 22143.50629722 with a remainder of 3.66e-07.