397840 divided by 34 
Let's see how many times 34 fits into 397840.

Step 1:
34 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
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 / 34

Advancing to step 2:
34 goes into 39 1 times with a remainder of 5.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 34 from 39 and we're left with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 34

Step 3:
When dividing 57 by 34, we get 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 11.0
The remainder is 23 after subtracting 34 from 57.
Take the next digit (8) from the dividend and append it to 23, then repeat: 238 / 34

Step 4:
34 can be fit into 238 7 times, resulting in a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 117.0
Subtracting 238 from 238 leaves us with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 34

Advancing to step 5:
34 can be fit into 4 0 times, resulting in a remainder of 4.
The next digit of our result is 0. 
Result so far: 1170.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 34

Step 6:
When dividing 40 by 34, we get 1 with a remainder of 6.
Put 1 as the next digit of the answer. 
Result so far: 11701.0
The remainder is 6 after subtracting 34 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
34 can be fit into 60 1 times, resulting in a remainder of 26.
The number 1 becomes the next digit in our result. 
Result so far: 11701.1
Subtracting 34 from 60 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 8:
34 goes into 260 7 times with a remainder of 22.
Put 7 as the next digit of the answer. 
Result so far: 11701.17
Subtracting 238 from 260 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 9:
If we divide 220 by 34, we get 6 and a remainder of 16.
Put 6 as the next digit of the answer. 
Result so far: 11701.176
Subtract 204 from 220 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 10:
If we divide 160 by 34, we get 4 and a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 11701.1764
Deduct 136 from 160 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 11:
When dividing 240 by 34, we get 7 with a remainder of 2.
Put 7 as the next digit of the answer. 
Result so far: 11701.17647
Deduct 238 from 240 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 12:
34 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 11701.17647
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 13:
If we divide 200 by 34, we get 5 and a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 11701.1764705
Subtract 170 from 200 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.

Advancing to step 14:
34 goes into 300 8 times with a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 11701.17647058
Subtract 272 from 300 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 11701.17647058 with a remaining 2.8e-08.