We're dividing 795127 by 31 
We're looking to find how many times 31 goes into 795127.

Step 1:
The number 31 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 31

Step 2:
79 divided by 31 is 2 with a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 62 from 79 and we're left with 17.
Grab the next digit (5) from the dividend, add it to 17, then carry on: 175 / 31

Moving on to step 3:
When dividing 175 by 31, we get 5 with a remainder of 20.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Deduct 155 from 175 and we're left with 20.
Include the next digit (1) from the dividend after 20, then repeat: 201 / 31

On to step 4:
31 can be fit into 201 6 times, resulting in a remainder of 15.
The number 6 becomes the next digit in our result. 
Result so far: 256.0
Subtract 186 from 201 to get 15.
Grab the next digit (2) from the dividend, add it to 15, then carry on: 152 / 31

Going ahead to step 5:
If we divide 152 by 31, we get 4 and a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 2564.0
If we subtract 124 from 152, we get 28.
Take the next digit (7) from the dividend and append it to 28, then repeat: 287 / 31

Advancing to step 6:
31 goes into 287 9 times with a remainder of 8.
Record the quotient 9 as the next digit in the result. 
Result so far: 25649.0
Subtracting 279 from 287 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
31 can be fit into 80 2 times, resulting in a remainder of 18.
The next digit of our result is 2. 
Result so far: 25649.2
Deduct 62 from 80 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 8:
When dividing 180 by 31, we get 5 with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 25649.25
Deduct 155 from 180 and we're left 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.

Step 9:
31 can be fit into 250 8 times, resulting in a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 25649.258
Deduct 248 from 250 and we're left 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.

Let's proceed to step 10:
If we divide 20 by 31, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 25649.258
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.

Let's proceed to step 11:
200 divided by 31 is 6 with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 25649.25806
If we subtract 186 from 200, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 12:
When dividing 140 by 31, we get 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 25649.258064
If we take 124 away from 140, we end up 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.

On to step 13:
If we divide 160 by 31, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 25649.2580645
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 14:
50 divided by 31 is 1 with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 25649.25806451
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.

Our division results in 25649.25806451 with a remaining 1.9e-08.