We're dividing 796255 by 31 
Let's see how many times 31 fits into 796255.

Step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 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
Deduct 62 from 79 and we're left with 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 31

Moving on to step 3:
31 goes into 176 5 times with a remainder of 21.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Subtract 155 from 176 to get 21.
Grab the next digit (2) from the dividend, add it to 21, then carry on: 212 / 31

Step 4:
31 goes into 212 6 times with a remainder of 26.
Put 6 as the next digit of the answer. 
Result so far: 256.0
Subtracting 186 from 212 leaves us with 26.
Grab the next digit (5) from the dividend, add it to 26, then carry on: 265 / 31

Going ahead to step 5:
The number 31 fits into 265 8 times, leaving a remainder of 17.
Use 8 as the next digit of our solution. 
Result so far: 2568.0
If we take 248 away from 265, we end up with 17.
Include the next digit (5) from the dividend after 17, then repeat: 175 / 31

Advancing to step 6:
The number 31 fits into 175 5 times, leaving a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 25685.0
The remainder is 20 after subtracting 155 from 175.
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 7:
31 can be fit into 200 6 times, resulting in a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 25685.6
Deduct 186 from 200 and we're left with 14.
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 8:
When dividing 140 by 31, we get 4 with a remainder of 16.
The next digit of our result is 4. 
Result so far: 25685.64
Subtract 124 from 140 to 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.

On to step 9:
When dividing 160 by 31, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 25685.645
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.

Advancing to step 10:
When dividing 50 by 31, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 25685.6451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Going ahead to step 11:
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: 25685.64516
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.

Advancing to step 12:
The number 31 fits into 40 1 times, leaving a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 25685.645161
Subtracting 31 from 40 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 13:
90 divided by 31 is 2 with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 25685.6451612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 14:
The number 31 fits into 280 9 times, leaving a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 25685.64516129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

In conclusion, the division gives 25685.64516129 with a balance of 1e-09.