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

Step 1:
5 divided by 840 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 840

Advancing to step 2:
52 divided by 840 is 0 with a remainder of 52.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 52, we get 52.
Bring next digit (7) of the dividend behind the 52 and repeat the process: 527 / 840

Going ahead to step 3:
The number 840 fits into 527 0 times, leaving a remainder of 527.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 527 leaves us with 527.
Grab the next digit (7) from the dividend, add it to 527, then carry on: 5277 / 840

On to step 4:
If we divide 5277 by 840, we get 6 and a remainder of 237.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 237 after subtracting 5040 from 5277.
Fetch the next digit (6) from the dividend, attach it to 237 and continue: 2376 / 840

On to step 5:
When dividing 2376 by 840, we get 2 with a remainder of 696.
The next digit of our result is 2. 
Result so far: 62.0
Subtracting 1680 from 2376 leaves us with 696.
Take the next digit (8) from the dividend and append it to 696, then repeat: 6968 / 840

Moving on to step 6:
If we divide 6968 by 840, we get 8 and a remainder of 248.
Write down 8 as next digit of the result. 
Result so far: 628.0
If we take 6720 away from 6968, we end up with 248.
Include the next digit (1) from the dividend after 248, then repeat: 2481 / 840

Let's proceed to step 7:
When dividing 2481 by 840, we get 2 with a remainder of 801.
Use 2 as the next digit of our solution. 
Result so far: 6282.0
Subtracting 1680 from 2481 leaves us with 801.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8010, and continue the process.

Moving on to step 8:
When dividing 8010 by 840, we get 9 with a remainder of 450.
Use 9 as the next digit of our solution. 
Result so far: 6282.9
The remainder is 450 after subtracting 7560 from 8010.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Let's proceed to step 9:
4500 divided by 840 is 5 with a remainder of 300.
The number 5 becomes the next digit in our result. 
Result so far: 6282.95
If we take 4200 away from 4500, we end up with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Going ahead to step 10:
840 can be fit into 3000 3 times, resulting in a remainder of 480.
Record the quotient 3 as the next digit in the result. 
Result so far: 6282.953
If we take 2520 away from 3000, we end up with 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 11:
The number 840 fits into 4800 5 times, leaving a remainder of 600.
Use 5 as the next digit of our solution. 
Result so far: 6282.9535
Subtract 4200 from 4800 to get 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

On to step 12:
840 goes into 6000 7 times with a remainder of 120.
Put 7 as the next digit of the answer. 
Result so far: 6282.95357
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.

Step 13:
1200 divided by 840 is 1 with a remainder of 360.
Use 1 as the next digit of our solution. 
Result so far: 6282.953571
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.

On to step 14:
When dividing 3600 by 840, we get 4 with a remainder of 240.
The next digit of our result is 4. 
Result so far: 6282.9535714
The remainder is 240 after subtracting 3360 from 3600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

On to step 15:
840 goes into 2400 2 times with a remainder of 720.
Write down 2 as next digit of the result. 
Result so far: 6282.95357142
The remainder is 720 after subtracting 1680 from 2400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

After the division, we end up with 6282.95357142 and a remainder of 7.2e-07.