938391 ÷ 31 
Let's see how many times 31 fits into 938391.

Moving on to step 1:
31 goes into 9 0 times with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Grab the next digit (3) from the dividend, add it to 9, then carry on: 93 / 31

Let's proceed to step 2:
If we divide 93 by 31, we get 3 and a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 93 from 93 to get 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 31

On to step 3:
8 divided by 31 is 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 30.0
If we subtract 0 from 8, we get 8.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 31

Going ahead to step 4:
31 can be fit into 83 2 times, resulting in a remainder of 21.
The next digit of our result is 2. 
Result so far: 302.0
The remainder is 21 after subtracting 62 from 83.
Include the next digit (9) from the dividend after 21, then repeat: 219 / 31

Advancing to step 5:
219 divided by 31 is 7 with a remainder of 2.
The next digit of our result is 7. 
Result so far: 3027.0
Subtracting 217 from 219 leaves us with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 31

Let's proceed to step 6:
When dividing 21 by 31, we get 0 with a remainder of 21.
Record the quotient 0 as the next digit in the result. 
Result so far: 30270.0
Subtracting 0 from 21 leaves us 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 7:
The number 31 fits into 210 6 times, leaving a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 30270.6
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.

Advancing to step 8:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 30270.67
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 9:
230 divided by 31 is 7 with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 30270.677
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The quotient of the division is 30270.677, and the remainder is 0.0013.