We divide 792874 by 31
Let's see how many times 31 fits into 792874.

Let's proceed to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 31

Advancing to step 2:
31 goes into 79 2 times with a remainder of 17.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 62 from 79, we get 17.
Bring next digit (2) of the dividend behind the 17 and repeat the process: 172 / 31

Going ahead to step 3:
When dividing 172 by 31, we get 5 with a remainder of 17.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Subtracting 155 from 172 leaves us with 17.
Fetch the next digit (8) from the dividend, attach it to 17 and continue: 178 / 31

On to step 4:
31 can be fit into 178 5 times, resulting in a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 255.0
If we take 155 away from 178, we end up with 23.
Append the next digit (7) from the dividend to 23 and continue with: 237 / 31

Step 5:
31 goes into 237 7 times with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 2557.0
If we subtract 217 from 237, we get 20.
Grab the next digit (4) from the dividend, add it to 20, then carry on: 204 / 31

Step 6:
31 goes into 204 6 times with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 25576.0
If we subtract 186 from 204, we 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.

Step 7:
31 can be fit into 180 5 times, resulting in a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 25576.5
If we take 155 away from 180, we end up with 25.
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 goes into 250 8 times with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 25576.58
If we subtract 248 from 250, we get 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 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 25576.58
Subtracting 0 from 20 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 10:
200 divided by 31 is 6 with a remainder of 14.
Use 6 as the next digit of our solution. 
Result so far: 25576.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.

Let's proceed to step 11:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 25576.58064
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 12:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 25576.580645
If we take 155 away from 160, we end up 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.

Moving on to step 13:
31 goes into 50 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 25576.5806451
Subtract 31 from 50 to get 19.
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:
31 goes into 190 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 25576.58064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 25576.58064516 and a remainder of 4e-09.