We look at the division of 998541 by 54 
We want to divide 998541 by 54.

Advancing to step 1:
54 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 54

Step 2:
54 goes into 99 1 times with a remainder of 45.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 54 away from 99, we end up with 45.
Append the next digit (8) from the dividend to 45 and continue with: 458 / 54

On to step 3:
The number 54 fits into 458 8 times, leaving a remainder of 26.
The next digit of our result is 8. 
Result so far: 18.0
If we take 432 away from 458, we end up with 26.
Include the next digit (5) from the dividend after 26, then repeat: 265 / 54

On to step 4:
54 goes into 265 4 times with a remainder of 49.
Use 4 as the next digit of our solution. 
Result so far: 184.0
If we subtract 216 from 265, we get 49.
Append the next digit (4) from the dividend to 49 and continue with: 494 / 54

Going ahead to step 5:
If we divide 494 by 54, we get 9 and a remainder of 8.
The next digit of our result is 9. 
Result so far: 1849.0
Subtract 486 from 494 to get 8.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 54

Going ahead to step 6:
54 can be fit into 81 1 times, resulting in a remainder of 27.
The next digit of our result is 1. 
Result so far: 18491.0
Deduct 54 from 81 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 7:
When dividing 270 by 54, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 18491.5
If we take 270 away from 270, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
The number 54 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 18491.5
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
If we divide 0 by 54, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 18491.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 18491.5 and a remainder of 0.0.