Let's divide 540547 by 18
Our goal is to divide 540547 by 18.

Advancing to step 1:
18 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 18

Moving on to step 2:
The number 18 fits into 54 3 times, leaving a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 54 from 54 and we're left with 0.
Fetch the next digit (0) from the dividend, attach it to 0 and continue: 0 / 18

Let's proceed to step 3:
0 divided by 18 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 30.0
Deduct 0 from 0 and we're left with 0.
Append the next digit (5) from the dividend to 0 and continue with: 5 / 18

Advancing to step 4:
If we divide 5 by 18, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 300.0
Subtract 0 from 5 to get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 18

Moving on to step 5:
When dividing 54 by 18, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3003.0
If we take 54 away from 54, we end up with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 18

On to step 6:
18 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 30030.0
Subtract 0 from 7 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 7:
When dividing 70 by 18, we get 3 with a remainder of 16.
The number 3 becomes the next digit in our result. 
Result so far: 30030.3
The remainder is 16 after subtracting 54 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
160 divided by 18 is 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 30030.38
If we take 144 away from 160, we end up with 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:
When dividing 160 by 18, we get 8 with a remainder of 16.
The next digit of our result is 8. 
Result so far: 30030.388
If we take 144 away from 160, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The quotient of the division is 30030.388, and the remainder is 0.0016.