We're dividing 518678 by 30 
Let's see how many times 30 fits into 518678.

Let's proceed to step 1:
When dividing 5 by 30, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 30

Going ahead to step 2:
When dividing 51 by 30, we get 1 with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 30 from 51 leaves us with 21.
Append the next digit (8) from the dividend to 21 and continue with: 218 / 30

Going ahead to step 3:
30 can be fit into 218 7 times, resulting in a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 17.0
Subtracting 210 from 218 leaves us with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 30

Advancing to step 4:
The number 30 fits into 86 2 times, leaving a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 172.0
The remainder is 26 after subtracting 60 from 86.
Fetch the next digit (7) from the dividend, attach it to 26 and continue: 267 / 30

Let's proceed to step 5:
If we divide 267 by 30, we get 8 and a remainder of 27.
The number 8 becomes the next digit in our result. 
Result so far: 1728.0
Subtracting 240 from 267 leaves us with 27.
Fetch the next digit (8) from the dividend, attach it to 27 and continue: 278 / 30

On to step 6:
278 divided by 30 is 9 with a remainder of 8.
The number 9 becomes the next digit in our result. 
Result so far: 17289.0
If we subtract 270 from 278, we get 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 7:
30 can be fit into 80 2 times, resulting in a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 17289.2
If we subtract 60 from 80, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
30 can be fit into 200 6 times, resulting in a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 17289.26
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
200 divided by 30 is 6 with a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 17289.266
Subtracting 180 from 200 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

After the division, we end up with 17289.266 and a remainder of 0.002.