We divide 514240 by 18
We're looking to find how many times 18 goes into 514240.

On to 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
Subtract 0 from 5 to get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 18

Going ahead to step 2:
18 goes into 51 2 times with a remainder of 15.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 36 from 51 to get 15.
Append the next digit (4) from the dividend to 15 and continue with: 154 / 18

Step 3:
18 can be fit into 154 8 times, resulting in a remainder of 10.
Write down 8 as next digit of the result. 
Result so far: 28.0
Subtract 144 from 154 to get 10.
Grab the next digit (2) from the dividend, add it to 10, then carry on: 102 / 18

Let's proceed to step 4:
When dividing 102 by 18, we get 5 with a remainder of 12.
Write down 5 as next digit of the result. 
Result so far: 285.0
Subtract 90 from 102 to get 12.
Grab the next digit (4) from the dividend, add it to 12, then carry on: 124 / 18

On to step 5:
18 can be fit into 124 6 times, resulting in a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 2856.0
Subtract 108 from 124 to get 16.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 18

Let's proceed to step 6:
160 divided by 18 is 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 28568.0
Subtract 144 from 160 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
160 divided by 18 is 8 with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 28568.8
Subtracting 144 from 160 leaves us 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.

Going ahead to step 8:
160 divided by 18 is 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 28568.88
If we subtract 144 from 160, we get 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 final result is 28568.88 with a remainder of 0.016.