We're dividing 5385460 by 542 
Our goal is to divide 5385460 by 542.

Moving on to step 1:
The number 542 fits into 5 0 times, leaving 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.
Fetch the next digit (3) from the dividend, attach it to 5 and continue: 53 / 542

Advancing to step 2:
542 can be fit into 53 0 times, resulting in a remainder of 53.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 53 after subtracting 0 from 53.
Take the next digit (8) from the dividend and append it to 53, then repeat: 538 / 542

Let's proceed to step 3:
If we divide 538 by 542, we get 0 and a remainder of 538.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 538 and we're left with 538.
Fetch the next digit (5) from the dividend, attach it to 538 and continue: 5385 / 542

Let's proceed to step 4:
The number 542 fits into 5385 9 times, leaving a remainder of 507.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we take 4878 away from 5385, we end up with 507.
Grab the next digit (4) from the dividend, add it to 507, then carry on: 5074 / 542

Step 5:
The number 542 fits into 5074 9 times, leaving a remainder of 196.
The number 9 becomes the next digit in our result. 
Result so far: 99.0
Subtract 4878 from 5074 to get 196.
Include the next digit (6) from the dividend after 196, then repeat: 1966 / 542

Going ahead to step 6:
The number 542 fits into 1966 3 times, leaving a remainder of 340.
The number 3 becomes the next digit in our result. 
Result so far: 993.0
Subtracting 1626 from 1966 leaves us with 340.
Include the next digit (0) from the dividend after 340, then repeat: 3400 / 542

Let's proceed to step 7:
3400 divided by 542 is 6 with a remainder of 148.
Write down 6 as next digit of the result. 
Result so far: 9936.0
The remainder is 148 after subtracting 3252 from 3400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

On to step 8:
If we divide 1480 by 542, we get 2 and a remainder of 396.
Put 2 as the next digit of the answer. 
Result so far: 9936.2
If we take 1084 away from 1480, we end up with 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

Let's proceed to step 9:
3960 divided by 542 is 7 with a remainder of 166.
The number 7 becomes the next digit in our result. 
Result so far: 9936.27
Subtract 3794 from 3960 to get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Let's proceed to step 10:
The number 542 fits into 1660 3 times, leaving a remainder of 34.
Record the quotient 3 as the next digit in the result. 
Result so far: 9936.273
Subtract 1626 from 1660 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 11:
542 goes into 340 0 times with a remainder of 340.
The next digit of our result is 0. 
Result so far: 9936.273
Subtract 0 from 340 to get 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3400, and continue the process.

Step 12:
542 can be fit into 3400 6 times, resulting in a remainder of 148.
Use 6 as the next digit of our solution. 
Result so far: 9936.27306
Subtracting 3252 from 3400 leaves us with 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

Let's proceed to step 13:
1480 divided by 542 is 2 with a remainder of 396.
Use 2 as the next digit of our solution. 
Result so far: 9936.273062
If we take 1084 away from 1480, we end up with 396.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3960, and continue the process.

On to step 14:
The number 542 fits into 3960 7 times, leaving a remainder of 166.
The number 7 becomes the next digit in our result. 
Result so far: 9936.2730627
If we take 3794 away from 3960, we end up with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Going ahead to step 15:
1660 divided by 542 is 3 with a remainder of 34.
The number 3 becomes the next digit in our result. 
Result so far: 9936.27306273
The remainder is 34 after subtracting 1626 from 1660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

The final result is 9936.27306273 with a remainder of 3.4e-08.