We look at the division of 585945 by 30 
Our goal is to divide 585945 by 30.

Going ahead 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
If we take 0 away from 5, we end up with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 30

Going ahead to step 2:
30 goes into 58 1 times with a remainder of 28.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 30 from 58, we get 28.
Bring next digit (5) of the dividend behind the 28 and repeat the process: 285 / 30

Step 3:
When dividing 285 by 30, we get 9 with a remainder of 15.
Put 9 as the next digit of the answer. 
Result so far: 19.0
If we take 270 away from 285, we end up with 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 30

Step 4:
The number 30 fits into 159 5 times, leaving a remainder of 9.
The number 5 becomes the next digit in our result. 
Result so far: 195.0
If we take 150 away from 159, we end up with 9.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 30

Advancing to step 5:
30 goes into 94 3 times with a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 1953.0
Subtracting 90 from 94 leaves us with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 30

Advancing to step 6:
The number 30 fits into 45 1 times, leaving a remainder of 15.
Use 1 as the next digit of our solution. 
Result so far: 19531.0
Subtracting 30 from 45 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 7:
30 can be fit into 150 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 19531.5
The remainder is 0 after subtracting 150 from 150.
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 8:
0 divided by 30 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 19531.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
If we divide 0 by 30, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 19531.5
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 19531.5 with a remainder of 0.0.