Let's divide 999024 by 31
We want to figure out the number of times 999024 can be divided by 31.

On to step 1:
31 goes into 9 0 times with a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 31

Let's proceed to step 2:
If we divide 99 by 31, we get 3 and a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Deduct 93 from 99 and we're left with 6.
Bring next digit (9) of the dividend behind the 6 and repeat the process: 69 / 31

Let's proceed to step 3:
69 divided by 31 is 2 with a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 32.0
If we subtract 62 from 69, we get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 31

Going ahead to step 4:
When dividing 70 by 31, we get 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 322.0
The remainder is 8 after subtracting 62 from 70.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 31

On to step 5:
If we divide 82 by 31, we get 2 and a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 3222.0
The remainder is 20 after subtracting 62 from 82.
Bring next digit (4) of the dividend behind the 20 and repeat the process: 204 / 31

Advancing to step 6:
When dividing 204 by 31, we get 6 with a remainder of 18.
The number 6 becomes the next digit in our result. 
Result so far: 32226.0
Subtract 186 from 204 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 7:
31 goes into 180 5 times with a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 32226.5
The remainder is 25 after subtracting 155 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 8:
31 can be fit into 250 8 times, resulting in a remainder of 2.
The next digit of our result is 8. 
Result so far: 32226.58
If we take 248 away from 250, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 9:
31 goes into 20 0 times with a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 32226.58
If we subtract 0 from 20, 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.

Step 10:
31 goes into 200 6 times with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 32226.5806
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 11:
The number 31 fits into 140 4 times, leaving a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 32226.58064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 12:
If we divide 160 by 31, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 32226.580645
Subtracting 155 from 160 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 13:
31 goes into 50 1 times with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 32226.5806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 14:
190 divided by 31 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 32226.58064516
Subtracting 186 from 190 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 32226.58064516, with a leftover of 4e-09.