We divide 585028 by 31
We want to divide 585028 by 31.

Moving on to step 1:
31 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 31

Step 2:
31 goes into 58 1 times with a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 27 after subtracting 31 from 58.
Append the next digit (5) from the dividend to 27 and continue with: 275 / 31

Moving on to step 3:
If we divide 275 by 31, we get 8 and a remainder of 27.
The next digit of our result is 8. 
Result so far: 18.0
If we take 248 away from 275, we end up with 27.
Append the next digit (0) from the dividend to 27 and continue with: 270 / 31

Advancing to step 4:
31 goes into 270 8 times with a remainder of 22.
The next digit of our result is 8. 
Result so far: 188.0
If we take 248 away from 270, we end up with 22.
Append the next digit (2) from the dividend to 22 and continue with: 222 / 31

Let's proceed to step 5:
When dividing 222 by 31, we get 7 with a remainder of 5.
The number 7 becomes the next digit in our result. 
Result so far: 1887.0
Subtracting 217 from 222 leaves us with 5.
Bring next digit (8) of the dividend behind the 5 and repeat the process: 58 / 31

Let's proceed to step 6:
If we divide 58 by 31, we get 1 and a remainder of 27.
The number 1 becomes the next digit in our result. 
Result so far: 18871.0
If we subtract 31 from 58, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 7:
If we divide 270 by 31, we get 8 and a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 18871.8
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 8:
When dividing 220 by 31, we get 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 18871.87
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
If we divide 30 by 31, we get 0 and a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 18871.87
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 10:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 18871.8709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 11:
210 divided by 31 is 6 with a remainder of 24.
Use 6 as the next digit of our solution. 
Result so far: 18871.87096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 12:
31 goes into 240 7 times with a remainder of 23.
The number 7 becomes the next digit in our result. 
Result so far: 18871.870967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 13:
31 goes into 230 7 times with a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 18871.8709677
If we take 217 away from 230, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

In conclusion, the division gives 18871.8709677 with a balance of 1.3e-07.