We divide 594260 by 31
We're looking to find how many times 31 goes into 594260.

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.
Grab the next digit (9) from the dividend, add it to 5, then carry on: 59 / 31

On to step 2:
The number 31 fits into 59 1 times, leaving a remainder of 28.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 31 from 59, we get 28.
Take the next digit (4) from the dividend and append it to 28, then repeat: 284 / 31

Step 3:
284 divided by 31 is 9 with a remainder of 5.
Put 9 as the next digit of the answer. 
Result so far: 19.0
If we subtract 279 from 284, we get 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 31

Let's proceed to step 4:
31 can be fit into 52 1 times, resulting in a remainder of 21.
The next digit of our result is 1. 
Result so far: 191.0
The remainder is 21 after subtracting 31 from 52.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 31

On to step 5:
31 goes into 216 6 times with a remainder of 30.
Write down 6 as next digit of the result. 
Result so far: 1916.0
If we subtract 186 from 216, we get 30.
Include the next digit (0) from the dividend after 30, then repeat: 300 / 31

Step 6:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 19169.0
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 7:
If we divide 210 by 31, we get 6 and a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 19169.6
Subtracting 186 from 210 leaves us with 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 8:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 19169.67
Deduct 217 from 240 and we're left 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.

Advancing to step 9:
31 can be fit into 230 7 times, resulting in a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 19169.677
Deduct 217 from 230 and we're left 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.

After the division, we end up with 19169.677 and a remainder of 0.0013.