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

On to step 1:
The number 18 fits into 5 0 times, leaving a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (2) of the dividend behind the 5 and repeat the process: 52 / 18

On to step 2:
18 goes into 52 2 times with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 36 from 52 and we're left with 16.
Grab the next digit (1) from the dividend, add it to 16, then carry on: 161 / 18

On to step 3:
If we divide 161 by 18, we get 8 and a remainder of 17.
The next digit of our result is 8. 
Result so far: 28.0
If we take 144 away from 161, we end up with 17.
Append the next digit (3) from the dividend to 17 and continue with: 173 / 18

Going ahead to step 4:
173 divided by 18 is 9 with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 289.0
Subtracting 162 from 173 leaves us with 11.
Append the next digit (4) from the dividend to 11 and continue with: 114 / 18

Going ahead to step 5:
18 can be fit into 114 6 times, resulting in a remainder of 6.
The next digit of our result is 6. 
Result so far: 2896.0
If we take 108 away from 114, we end up with 6.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 18

Step 6:
18 can be fit into 62 3 times, resulting in a remainder of 8.
The next digit of our result is 3. 
Result so far: 28963.0
If we take 54 away from 62, 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.

Going ahead to step 7:
If we divide 80 by 18, we get 4 and a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 28963.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.

Let's proceed to step 8:
If we divide 80 by 18, we get 4 and a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 28963.44
Subtracting 72 from 80 leaves us 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.

After the division, we end up with 28963.44 and a remainder of 0.008.