We look at the division of 540940 by 84 
We want to divide 540940 by 84.

Going ahead to step 1:
The number 84 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 84

Going ahead to step 2:
The number 84 fits into 54 0 times, leaving a remainder of 54.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 54 and we're left with 54.
Grab the next digit (0) from the dividend, add it to 54, then carry on: 540 / 84

Going ahead to step 3:
If we divide 540 by 84, we get 6 and a remainder of 36.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 36 after subtracting 504 from 540.
Grab the next digit (9) from the dividend, add it to 36, then carry on: 369 / 84

Let's proceed to step 4:
84 can be fit into 369 4 times, resulting in a remainder of 33.
Write down 4 as next digit of the result. 
Result so far: 64.0
If we take 336 away from 369, we end up with 33.
Include the next digit (4) from the dividend after 33, then repeat: 334 / 84

Advancing to step 5:
If we divide 334 by 84, we get 3 and a remainder of 82.
Use 3 as the next digit of our solution. 
Result so far: 643.0
The remainder is 82 after subtracting 252 from 334.
Take the next digit (0) from the dividend and append it to 82, then repeat: 820 / 84

Going ahead to step 6:
84 can be fit into 820 9 times, resulting in a remainder of 64.
The next digit of our result is 9. 
Result so far: 6439.0
Subtracting 756 from 820 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 7:
If we divide 640 by 84, we get 7 and a remainder of 52.
The number 7 becomes the next digit in our result. 
Result so far: 6439.7
Subtracting 588 from 640 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 8:
520 divided by 84 is 6 with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 6439.76
Subtract 504 from 520 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 9:
160 divided by 84 is 1 with a remainder of 76.
Record the quotient 1 as the next digit in the result. 
Result so far: 6439.761
Subtracting 84 from 160 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 10:
84 goes into 760 9 times with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 6439.7619
Deduct 756 from 760 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 11:
When dividing 40 by 84, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 6439.7619
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 12:
When dividing 400 by 84, we get 4 with a remainder of 64.
Write down 4 as next digit of the result. 
Result so far: 6439.761904
If we subtract 336 from 400, we get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 13:
The number 84 fits into 640 7 times, leaving a remainder of 52.
Write down 7 as next digit of the result. 
Result so far: 6439.7619047
The remainder is 52 after subtracting 588 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 14:
84 can be fit into 520 6 times, resulting in a remainder of 16.
Use 6 as the next digit of our solution. 
Result so far: 6439.76190476
The remainder is 16 after subtracting 504 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final result is 6439.76190476 with a remainder of 1.6e-08.