240840 divided by 84 
We want to divide 240840 by 84.

Advancing to step 1:
84 goes into 2 0 times with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 84

Moving on to step 2:
When dividing 24 by 84, we get 0 with a remainder of 24.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 24 leaves us with 24.
Take the next digit (0) from the dividend and append it to 24, then repeat: 240 / 84

Moving on to step 3:
240 divided by 84 is 2 with a remainder of 72.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 168 from 240, we get 72.
Fetch the next digit (8) from the dividend, attach it to 72 and continue: 728 / 84

Moving on to step 4:
The number 84 fits into 728 8 times, leaving a remainder of 56.
The next digit of our result is 8. 
Result so far: 28.0
If we subtract 672 from 728, we get 56.
Take the next digit (4) from the dividend and append it to 56, then repeat: 564 / 84

Advancing to step 5:
If we divide 564 by 84, we get 6 and a remainder of 60.
Write down 6 as next digit of the result. 
Result so far: 286.0
If we take 504 away from 564, we end up with 60.
Fetch the next digit (0) from the dividend, attach it to 60 and continue: 600 / 84

Moving on to step 6:
84 can be fit into 600 7 times, resulting in a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 2867.0
Deduct 588 from 600 and we're left 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.

Moving on to step 7:
84 goes into 120 1 times with a remainder of 36.
Write down 1 as next digit of the result. 
Result so far: 2867.1
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.

Advancing to step 8:
The number 84 fits into 360 4 times, leaving a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 2867.14
If we subtract 336 from 360, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 9:
240 divided by 84 is 2 with a remainder of 72.
The next digit of our result is 2. 
Result so far: 2867.142
If we subtract 168 from 240, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 10:
84 can be fit into 720 8 times, resulting in a remainder of 48.
The next digit of our result is 8. 
Result so far: 2867.1428
The remainder is 48 after subtracting 672 from 720.
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 11:
84 goes into 480 5 times with a remainder of 60.
The next digit of our result is 5. 
Result so far: 2867.14285
Subtract 420 from 480 to get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Going ahead to step 12:
The number 84 fits into 600 7 times, leaving a remainder of 12.
The next digit of our result is 7. 
Result so far: 2867.142857
If we subtract 588 from 600, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 13:
84 goes into 120 1 times with a remainder of 36.
Put 1 as the next digit of the answer. 
Result so far: 2867.1428571
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.

Advancing to step 14:
The number 84 fits into 360 4 times, leaving a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 2867.14285714
Deduct 336 from 360 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.

After the division, we end up with 2867.14285714 and a remainder of 2.4e-08.