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

On to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (3) from the dividend and append it to 8, then repeat: 83 / 31

Going ahead to step 2:
If we divide 83 by 31, we get 2 and a remainder of 21.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 62 from 83 to get 21.
Include the next digit (8) from the dividend after 21, then repeat: 218 / 31

Let's proceed to step 3:
31 goes into 218 7 times with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 27.0
If we subtract 217 from 218, we get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 31

Step 4:
The number 31 fits into 12 0 times, leaving a remainder of 12.
The next digit of our result is 0. 
Result so far: 270.0
If we subtract 0 from 12, we get 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 31

On to step 5:
31 goes into 127 4 times with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 2704.0
If we subtract 124 from 127, we get 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 31

Step 6:
31 goes into 38 1 times with a remainder of 7.
The next digit of our result is 1. 
Result so far: 27041.0
Subtract 31 from 38 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 7:
31 goes into 70 2 times with a remainder of 8.
The next digit of our result is 2. 
Result so far: 27041.2
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
If we divide 80 by 31, we get 2 and a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 27041.22
If we subtract 62 from 80, 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.

The final result is 27041.22 with a remainder of 0.018.