We're dividing 398342 by 58 
We want to figure out the number of times 398342 can be divided by 58.

Advancing to step 1:
When dividing 3 by 58, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 58

On 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
Subtracting 0 from 39 leaves us with 39.
Bring next digit (8) of the dividend behind the 39 and repeat the process: 398 / 58

Going ahead to step 3:
58 can be fit into 398 6 times, resulting in a remainder of 50.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 348 away from 398, we end up with 50.
Include the next digit (3) from the dividend after 50, then repeat: 503 / 58

On to step 4:
503 divided by 58 is 8 with a remainder of 39.
Put 8 as the next digit of the answer. 
Result so far: 68.0
Deduct 464 from 503 and we're left with 39.
Append the next digit (4) from the dividend to 39 and continue with: 394 / 58

Going ahead to step 5:
If we divide 394 by 58, we get 6 and a remainder of 46.
Put 6 as the next digit of the answer. 
Result so far: 686.0
If we take 348 away from 394, we end up with 46.
Take the next digit (2) from the dividend and append it to 46, then repeat: 462 / 58

Step 6:
58 can be fit into 462 7 times, resulting in a remainder of 56.
The next digit of our result is 7. 
Result so far: 6867.0
If we subtract 406 from 462, we get 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 7:
When dividing 560 by 58, we get 9 with a remainder of 38.
Use 9 as the next digit of our solution. 
Result so far: 6867.9
Deduct 522 from 560 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 8:
When dividing 380 by 58, we get 6 with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 6867.96
Subtracting 348 from 380 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 9:
58 can be fit into 320 5 times, resulting in a remainder of 30.
The next digit of our result is 5. 
Result so far: 6867.965
The remainder is 30 after subtracting 290 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 10:
If we divide 300 by 58, we get 5 and a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 6867.9655
Subtract 290 from 300 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Our division results in 6867.9655 with a remaining 0.0001.