Let's divide 9931777 by 542
We're looking to find how many times 542 goes into 9931777.

Advancing to step 1:
The number 542 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 542

Let's proceed to step 2:
542 goes into 99 0 times with a remainder of 99.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 99 to get 99.
Bring next digit (3) of the dividend behind the 99 and repeat the process: 993 / 542

Advancing to step 3:
The number 542 fits into 993 1 times, leaving a remainder of 451.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 542 from 993, we get 451.
Include the next digit (1) from the dividend after 451, then repeat: 4511 / 542

Going ahead to step 4:
542 goes into 4511 8 times with a remainder of 175.
The next digit of our result is 8. 
Result so far: 18.0
Deduct 4336 from 4511 and we're left with 175.
Bring next digit (7) of the dividend behind the 175 and repeat the process: 1757 / 542

Advancing to step 5:
The number 542 fits into 1757 3 times, leaving a remainder of 131.
Write down 3 as next digit of the result. 
Result so far: 183.0
If we take 1626 away from 1757, we end up with 131.
Take the next digit (7) from the dividend and append it to 131, then repeat: 1317 / 542

Going ahead to step 6:
When dividing 1317 by 542, we get 2 with a remainder of 233.
The next digit of our result is 2. 
Result so far: 1832.0
Subtracting 1084 from 1317 leaves us with 233.
Fetch the next digit (7) from the dividend, attach it to 233 and continue: 2337 / 542

Let's proceed to step 7:
542 can be fit into 2337 4 times, resulting in a remainder of 169.
The number 4 becomes the next digit in our result. 
Result so far: 18324.0
Deduct 2168 from 2337 and we're left with 169.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1690, and continue the process.

Step 8:
The number 542 fits into 1690 3 times, leaving a remainder of 64.
Use 3 as the next digit of our solution. 
Result so far: 18324.3
The remainder is 64 after subtracting 1626 from 1690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Going ahead to step 9:
640 divided by 542 is 1 with a remainder of 98.
Record the quotient 1 as the next digit in the result. 
Result so far: 18324.31
If we take 542 away from 640, we end up with 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

On to step 10:
542 can be fit into 980 1 times, resulting in a remainder of 438.
The number 1 becomes the next digit in our result. 
Result so far: 18324.311
The remainder is 438 after subtracting 542 from 980.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

In conclusion, the division gives 18324.311 with a balance of 0.0438.