We look at the division of 504062 by 18 
We're looking to find how many times 18 goes into 504062.

Step 1:
The number 18 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
Subtracting 0 from 5 leaves us with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 18

Step 2:
If we divide 50 by 18, we get 2 and a remainder of 14.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 36 from 50 to get 14.
Bring next digit (4) of the dividend behind the 14 and repeat the process: 144 / 18

Step 3:
When dividing 144 by 18, we get 8 with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 28.0
If we take 144 away from 144, we end up with 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 18

Step 4:
The number 18 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 280.0
If we subtract 0 from 0, we get 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 18

Moving on to step 5:
6 divided by 18 is 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 2800.0
The remainder is 6 after subtracting 0 from 6.
Include the next digit (2) from the dividend after 6, then repeat: 62 / 18

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

Moving on to step 7:
18 goes into 80 4 times with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 28003.4
If we take 72 away from 80, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
18 can be fit into 80 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 28003.44
The remainder is 8 after subtracting 72 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

In conclusion, the division gives 28003.44 with a balance of 0.008.