We're dividing 518168 by 42 
Let's see how many times 42 fits into 518168.

Moving on to step 1:
The number 42 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 42

Moving on to step 2:
42 can be fit into 51 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 42 from 51 to get 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 42

Advancing to step 3:
If we divide 98 by 42, we get 2 and a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Subtract 84 from 98 to get 14.
Grab the next digit (1) from the dividend, add it to 14, then carry on: 141 / 42

Step 4:
The number 42 fits into 141 3 times, leaving a remainder of 15.
Write down 3 as next digit of the result. 
Result so far: 123.0
If we subtract 126 from 141, we get 15.
Include the next digit (6) from the dividend after 15, then repeat: 156 / 42

Advancing to step 5:
156 divided by 42 is 3 with a remainder of 30.
Record the quotient 3 as the next digit in the result. 
Result so far: 1233.0
If we subtract 126 from 156, we get 30.
Include the next digit (8) from the dividend after 30, then repeat: 308 / 42

Let's proceed to step 6:
42 can be fit into 308 7 times, resulting in a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 12337.0
If we subtract 294 from 308, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 7:
If we divide 140 by 42, we get 3 and a remainder of 14.
Write down 3 as next digit of the result. 
Result so far: 12337.3
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 8:
When dividing 140 by 42, we get 3 with a remainder of 14.
The next digit of our result is 3. 
Result so far: 12337.33
The remainder is 14 after subtracting 126 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 12337.33 and a remainder of 0.014.