We're dividing 340697 by 58 
We want to divide 340697 by 58.

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.
Append the next digit (4) from the dividend to 3 and continue with: 34 / 58

Advancing to step 2:
When dividing 34 by 58, we get 0 with a remainder of 34.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 34 and we're left with 34.
Fetch the next digit (0) from the dividend, attach it to 34 and continue: 340 / 58

On to step 3:
58 can be fit into 340 5 times, resulting in a remainder of 50.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 290 from 340, we get 50.
Append the next digit (6) from the dividend to 50 and continue with: 506 / 58

On to step 4:
506 divided by 58 is 8 with a remainder of 42.
Write down 8 as next digit of the result. 
Result so far: 58.0
The remainder is 42 after subtracting 464 from 506.
Append the next digit (9) from the dividend to 42 and continue with: 429 / 58

Advancing to step 5:
If we divide 429 by 58, we get 7 and a remainder of 23.
The next digit of our result is 7. 
Result so far: 587.0
If we take 406 away from 429, we end up with 23.
Grab the next digit (7) from the dividend, add it to 23, then carry on: 237 / 58

Going ahead to step 6:
58 can be fit into 237 4 times, resulting in a remainder of 5.
Use 4 as the next digit of our solution. 
Result so far: 5874.0
If we subtract 232 from 237, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 7:
The number 58 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 5874.0
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 8:
58 goes into 500 8 times with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 5874.08
Subtract 464 from 500 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 9:
58 goes into 360 6 times with a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 5874.086
The remainder is 12 after subtracting 348 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 10:
If we divide 120 by 58, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 5874.0862
If we subtract 116 from 120, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 11:
If we divide 40 by 58, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 5874.0862
Subtract 0 from 40 to get 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 12:
58 goes into 400 6 times with a remainder of 52.
Record the quotient 6 as the next digit in the result. 
Result so far: 5874.086206
If we subtract 348 from 400, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 13:
520 divided by 58 is 8 with a remainder of 56.
Record the quotient 8 as the next digit in the result. 
Result so far: 5874.0862068
Deduct 464 from 520 and we're left 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:
If we divide 560 by 58, we get 9 and a remainder of 38.
The number 9 becomes the next digit in our result. 
Result so far: 5874.08620689
Subtracting 522 from 560 leaves us 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.

The final outcome is 5874.08620689, with a leftover of 3.8e-08.