We divide 20977857 by 840
We're looking to find how many times 840 goes into 20977857.

Going ahead to step 1:
When dividing 2 by 840, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 840

On to step 2:
840 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 20 leaves us with 20.
Bring next digit (9) of the dividend behind the 20 and repeat the process: 209 / 840

Moving on to step 3:
When dividing 209 by 840, we get 0 with a remainder of 209.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 209 after subtracting 0 from 209.
Bring next digit (7) of the dividend behind the 209 and repeat the process: 2097 / 840

Advancing to step 4:
840 goes into 2097 2 times with a remainder of 417.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtracting 1680 from 2097 leaves us with 417.
Grab the next digit (7) from the dividend, add it to 417, then carry on: 4177 / 840

On to step 5:
840 goes into 4177 4 times with a remainder of 817.
Write down 4 as next digit of the result. 
Result so far: 24.0
Deduct 3360 from 4177 and we're left with 817.
Include the next digit (8) from the dividend after 817, then repeat: 8178 / 840

On to step 6:
840 goes into 8178 9 times with a remainder of 618.
Put 9 as the next digit of the answer. 
Result so far: 249.0
Subtracting 7560 from 8178 leaves us with 618.
Fetch the next digit (5) from the dividend, attach it to 618 and continue: 6185 / 840

On to step 7:
6185 divided by 840 is 7 with a remainder of 305.
Use 7 as the next digit of our solution. 
Result so far: 2497.0
Deduct 5880 from 6185 and we're left with 305.
Take the next digit (7) from the dividend and append it to 305, then repeat: 3057 / 840

Going ahead to step 8:
840 can be fit into 3057 3 times, resulting in a remainder of 537.
Record the quotient 3 as the next digit in the result. 
Result so far: 24973.0
If we subtract 2520 from 3057, we get 537.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5370, and continue the process.

Step 9:
The number 840 fits into 5370 6 times, leaving a remainder of 330.
Put 6 as the next digit of the answer. 
Result so far: 24973.6
Subtract 5040 from 5370 to get 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3300, and continue the process.

Going ahead to step 10:
When dividing 3300 by 840, we get 3 with a remainder of 780.
The next digit of our result is 3. 
Result so far: 24973.63
Subtract 2520 from 3300 to get 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Advancing to step 11:
840 goes into 7800 9 times with a remainder of 240.
Use 9 as the next digit of our solution. 
Result so far: 24973.639
Subtract 7560 from 7800 to get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Going ahead to step 12:
2400 divided by 840 is 2 with a remainder of 720.
Record the quotient 2 as the next digit in the result. 
Result so far: 24973.6392
Subtracting 1680 from 2400 leaves us with 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

On to step 13:
840 goes into 7200 8 times with a remainder of 480.
The number 8 becomes the next digit in our result. 
Result so far: 24973.63928
Subtract 6720 from 7200 to get 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

Step 14:
When dividing 4800 by 840, we get 5 with a remainder of 600.
Put 5 as the next digit of the answer. 
Result so far: 24973.639285
Deduct 4200 from 4800 and we're left with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Moving on to step 15:
The number 840 fits into 6000 7 times, leaving a remainder of 120.
Record the quotient 7 as the next digit in the result. 
Result so far: 24973.6392857
Subtract 5880 from 6000 to get 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Going ahead to step 16:
The number 840 fits into 1200 1 times, leaving a remainder of 360.
Use 1 as the next digit of our solution. 
Result so far: 24973.63928571
The remainder is 360 after subtracting 840 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3600, and continue the process.

Our division results in 24973.63928571 with a remaining 3.6e-07.