Let's divide 564642 by 30
We want to divide 564642 by 30.

On to step 1:
The number 30 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 30

On to step 2:
30 can be fit into 56 1 times, resulting in a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 30 away from 56, we end up with 26.
Grab the next digit (4) from the dividend, add it to 26, then carry on: 264 / 30

Step 3:
264 divided by 30 is 8 with a remainder of 24.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
Deduct 240 from 264 and we're left with 24.
Include the next digit (6) from the dividend after 24, then repeat: 246 / 30

Step 4:
30 goes into 246 8 times with a remainder of 6.
The number 8 becomes the next digit in our result. 
Result so far: 188.0
The remainder is 6 after subtracting 240 from 246.
Take the next digit (4) from the dividend and append it to 6, then repeat: 64 / 30

Advancing to step 5:
64 divided by 30 is 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 1882.0
If we subtract 60 from 64, we get 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 30

Going ahead to step 6:
42 divided by 30 is 1 with a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 18821.0
If we take 30 away from 42, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 7:
The number 30 fits into 120 4 times, leaving a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 18821.4
If we take 120 away from 120, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
If we divide 0 by 30, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 18821.4
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 9:
The number 30 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 18821.4
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 18821.4 with a remainder of 0.0.