We look at the division of 397887 by 58 
We're looking to find how many times 58 goes into 397887.

Let's proceed to step 1:
58 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 58

Advancing to step 2:
If we divide 39 by 58, we get 0 and a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 39, we end up with 39.
Include the next digit (7) from the dividend after 39, then repeat: 397 / 58

Going ahead to step 3:
The number 58 fits into 397 6 times, leaving a remainder of 49.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 49 after subtracting 348 from 397.
Grab the next digit (8) from the dividend, add it to 49, then carry on: 498 / 58

Advancing to step 4:
If we divide 498 by 58, we get 8 and a remainder of 34.
The number 8 becomes the next digit in our result. 
Result so far: 68.0
Subtracting 464 from 498 leaves us with 34.
Fetch the next digit (8) from the dividend, attach it to 34 and continue: 348 / 58

Step 5:
The number 58 fits into 348 6 times, leaving a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 686.0
If we subtract 348 from 348, we get 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 58

Moving on to step 6:
7 divided by 58 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 6860.0
Deduct 0 from 7 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 7:
The number 58 fits into 70 1 times, leaving a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 6860.1
Deduct 58 from 70 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 8:
58 goes into 120 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 6860.12
The remainder is 4 after subtracting 116 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
When dividing 40 by 58, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 6860.12
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 10:
58 can be fit into 400 6 times, resulting in a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 6860.1206
Deduct 348 from 400 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 11:
58 can be fit into 520 8 times, resulting in a remainder of 56.
Use 8 as the next digit of our solution. 
Result so far: 6860.12068
If we take 464 away from 520, we end up 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.

Going ahead to step 12:
If we divide 560 by 58, we get 9 and a remainder of 38.
Put 9 as the next digit of the answer. 
Result so far: 6860.120689
If we subtract 522 from 560, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Going ahead to step 13:
58 can be fit into 380 6 times, resulting in a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 6860.1206896
If we subtract 348 from 380, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 14:
58 can be fit into 320 5 times, resulting in a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 6860.12068965
Subtract 290 from 320 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final result is 6860.12068965 with a remainder of 3e-08.