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

Moving on to step 1:
The number 84 fits into 3 0 times, leaving 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.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 84

Going ahead to step 2:
If we divide 34 by 84, we get 0 and a remainder of 34.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 34 after subtracting 0 from 34.
Bring next digit (0) of the dividend behind the 34 and repeat the process: 340 / 84

Advancing to step 3:
The number 84 fits into 340 4 times, leaving a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we subtract 336 from 340, we get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 84

Advancing to step 4:
When dividing 47 by 84, we get 0 with a remainder of 47.
The next digit of our result is 0. 
Result so far: 40.0
Subtracting 0 from 47 leaves us with 47.
Grab the next digit (2) from the dividend, add it to 47, then carry on: 472 / 84

Going ahead to step 5:
84 can be fit into 472 5 times, resulting in a remainder of 52.
The next digit of our result is 5. 
Result so far: 405.0
Deduct 420 from 472 and we're left with 52.
Take the next digit (2) from the dividend and append it to 52, then repeat: 522 / 84

Step 6:
If we divide 522 by 84, we get 6 and a remainder of 18.
The number 6 becomes the next digit in our result. 
Result so far: 4056.0
Subtracting 504 from 522 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 7:
180 divided by 84 is 2 with a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 4056.2
Subtracting 168 from 180 leaves us 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.

On to step 8:
120 divided by 84 is 1 with a remainder of 36.
Use 1 as the next digit of our solution. 
Result so far: 4056.21
Deduct 84 from 120 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 9:
When dividing 360 by 84, we get 4 with a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 4056.214
The remainder is 24 after subtracting 336 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 10:
84 goes into 240 2 times with a remainder of 72.
The number 2 becomes the next digit in our result. 
Result so far: 4056.2142
Subtracting 168 from 240 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 11:
84 can be fit into 720 8 times, resulting in a remainder of 48.
Write down 8 as next digit of the result. 
Result so far: 4056.21428
Subtract 672 from 720 to get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 12:
480 divided by 84 is 5 with a remainder of 60.
Use 5 as the next digit of our solution. 
Result so far: 4056.214285
If we take 420 away from 480, we end up with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 13:
84 can be fit into 600 7 times, resulting in a remainder of 12.
The number 7 becomes the next digit in our result. 
Result so far: 4056.2142857
Subtracting 588 from 600 leaves us 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.

Step 14:
84 goes into 120 1 times with a remainder of 36.
Put 1 as the next digit of the answer. 
Result so far: 4056.21428571
Subtract 84 from 120 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.

The final result is 4056.21428571 with a remainder of 3.6e-08.