798838 ÷ 31 
Our goal is to divide 798838 by 31.

Moving on to step 1:
The number 31 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 31

Going ahead to step 2:
If we divide 79 by 31, we get 2 and a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 62 from 79 to get 17.
Bring next digit (8) of the dividend behind the 17 and repeat the process: 178 / 31

Step 3:
The number 31 fits into 178 5 times, leaving a remainder of 23.
The next digit of our result is 5. 
Result so far: 25.0
The remainder is 23 after subtracting 155 from 178.
Take the next digit (8) from the dividend and append it to 23, then repeat: 238 / 31

Going ahead to step 4:
31 goes into 238 7 times with a remainder of 21.
Record the quotient 7 as the next digit in the result. 
Result so far: 257.0
Subtracting 217 from 238 leaves us with 21.
Grab the next digit (3) from the dividend, add it to 21, then carry on: 213 / 31

Advancing to step 5:
31 can be fit into 213 6 times, resulting in a remainder of 27.
The next digit of our result is 6. 
Result so far: 2576.0
Subtracting 186 from 213 leaves us with 27.
Include the next digit (8) from the dividend after 27, then repeat: 278 / 31

Step 6:
If we divide 278 by 31, we get 8 and a remainder of 30.
Put 8 as the next digit of the answer. 
Result so far: 25768.0
If we subtract 248 from 278, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 7:
If we divide 300 by 31, we get 9 and a remainder of 21.
The next digit of our result is 9. 
Result so far: 25768.9
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 8:
When dividing 210 by 31, we get 6 with a remainder of 24.
The next digit of our result is 6. 
Result so far: 25768.96
Deduct 186 from 210 and we're left 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.

Moving on to step 9:
If we divide 240 by 31, we get 7 and a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 25768.967
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.

On to step 10:
31 goes into 230 7 times with a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 25768.9677
Deduct 217 from 230 and we're left 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.

The final outcome is 25768.9677, with a leftover of 0.00013.