We're dividing 542486 by 84 
Let's see how many times 84 fits into 542486.

Let's proceed to step 1:
When dividing 5 by 84, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 84

Going ahead to step 2:
54 divided by 84 is 0 with a remainder of 54.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 54 and we're left with 54.
Append the next digit (2) from the dividend to 54 and continue with: 542 / 84

Going ahead to step 3:
When dividing 542 by 84, we get 6 with a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 6.0
If we subtract 504 from 542, we get 38.
Grab the next digit (4) from the dividend, add it to 38, then carry on: 384 / 84

Step 4:
84 can be fit into 384 4 times, resulting in a remainder of 48.
The next digit of our result is 4. 
Result so far: 64.0
If we take 336 away from 384, we end up with 48.
Take the next digit (8) from the dividend and append it to 48, then repeat: 488 / 84

Let's proceed to step 5:
84 can be fit into 488 5 times, resulting in a remainder of 68.
Write down 5 as next digit of the result. 
Result so far: 645.0
Subtract 420 from 488 to get 68.
Grab the next digit (6) from the dividend, add it to 68, then carry on: 686 / 84

On to step 6:
The number 84 fits into 686 8 times, leaving a remainder of 14.
The next digit of our result is 8. 
Result so far: 6458.0
Subtract 672 from 686 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 7:
When dividing 140 by 84, we get 1 with a remainder of 56.
Record the quotient 1 as the next digit in the result. 
Result so far: 6458.1
Subtracting 84 from 140 leaves us with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Advancing to step 8:
When dividing 560 by 84, we get 6 with a remainder of 56.
The next digit of our result is 6. 
Result so far: 6458.16
Subtract 504 from 560 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 9:
560 divided by 84 is 6 with a remainder of 56.
The number 6 becomes the next digit in our result. 
Result so far: 6458.166
Deduct 504 from 560 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

After the division, we end up with 6458.166 and a remainder of 0.0056.