We look at the division of 784228 by 31 
We're looking to find how many times 31 goes into 784228.

Moving on to step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 31

Advancing to step 2:
The number 31 fits into 78 2 times, leaving a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 62 from 78 to get 16.
Grab the next digit (4) from the dividend, add it to 16, then carry on: 164 / 31

Let's proceed to step 3:
When dividing 164 by 31, we get 5 with a remainder of 9.
The next digit of our result is 5. 
Result so far: 25.0
Deduct 155 from 164 and we're left with 9.
Fetch the next digit (2) from the dividend, attach it to 9 and continue: 92 / 31

Step 4:
31 can be fit into 92 2 times, resulting in a remainder of 30.
Use 2 as the next digit of our solution. 
Result so far: 252.0
If we take 62 away from 92, we end up with 30.
Fetch the next digit (2) from the dividend, attach it to 30 and continue: 302 / 31

On to step 5:
If we divide 302 by 31, we get 9 and a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 2529.0
Subtracting 279 from 302 leaves us with 23.
Take the next digit (8) from the dividend and append it to 23, then repeat: 238 / 31

Going ahead to step 6:
When dividing 238 by 31, we get 7 with a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 25297.0
If we subtract 217 from 238, we 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.

On to step 7:
31 goes into 210 6 times with a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 25297.6
If we take 186 away from 210, we end up 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.

Step 8:
240 divided by 31 is 7 with a remainder of 23.
The next digit of our result is 7. 
Result so far: 25297.67
Subtracting 217 from 240 leaves us 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.
Put 7 as the next digit of the answer. 
Result so far: 25297.677
Subtracting 217 from 230 leaves us 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 25297.677 and a remainder of 0.0013.