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

On to step 1:
840 can be fit into 2 0 times, resulting in a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 840

Advancing to step 2:
When dividing 27 by 840, we get 0 with a remainder of 27.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 27, we get 27.
Fetch the next digit (4) from the dividend, attach it to 27 and continue: 274 / 840

Going ahead to step 3:
The number 840 fits into 274 0 times, leaving a remainder of 274.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 274, we get 274.
Bring next digit (2) of the dividend behind the 274 and repeat the process: 2742 / 840

Going ahead to step 4:
2742 divided by 840 is 3 with a remainder of 222.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 2520 from 2742 and we're left with 222.
Take the next digit (0) from the dividend and append it to 222, then repeat: 2220 / 840

Step 5:
840 goes into 2220 2 times with a remainder of 540.
The number 2 becomes the next digit in our result. 
Result so far: 32.0
If we subtract 1680 from 2220, we get 540.
Grab the next digit (2) from the dividend, add it to 540, then carry on: 5402 / 840

Going ahead to step 6:
If we divide 5402 by 840, we get 6 and a remainder of 362.
The number 6 becomes the next digit in our result. 
Result so far: 326.0
Subtracting 5040 from 5402 leaves us with 362.
Grab the next digit (2) from the dividend, add it to 362, then carry on: 3622 / 840

Step 7:
If we divide 3622 by 840, we get 4 and a remainder of 262.
Record the quotient 4 as the next digit in the result. 
Result so far: 3264.0
Deduct 3360 from 3622 and we're left with 262.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2620, and continue the process.

On to step 8:
840 can be fit into 2620 3 times, resulting in a remainder of 100.
Put 3 as the next digit of the answer. 
Result so far: 3264.3
The remainder is 100 after subtracting 2520 from 2620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Advancing to step 9:
1000 divided by 840 is 1 with a remainder of 160.
The next digit of our result is 1. 
Result so far: 3264.31
Deduct 840 from 1000 and we're left with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Moving on to step 10:
1600 divided by 840 is 1 with a remainder of 760.
Put 1 as the next digit of the answer. 
Result so far: 3264.311
Deduct 840 from 1600 and we're left with 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7600, and continue the process.

In conclusion, the division gives 3264.311 with a balance of 0.076.