989378 divided by 31 
Our goal is to divide 989378 by 31.

Moving on to step 1:
31 can be fit into 9 0 times, resulting in a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 31

Step 2:
If we divide 98 by 31, we get 3 and a remainder of 5.
Write down 3 as next digit of the result. 
Result so far: 3.0
The remainder is 5 after subtracting 93 from 98.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 31

Going ahead to step 3:
59 divided by 31 is 1 with a remainder of 28.
Put 1 as the next digit of the answer. 
Result so far: 31.0
If we subtract 31 from 59, we get 28.
Bring next digit (3) of the dividend behind the 28 and repeat the process: 283 / 31

Let's proceed to step 4:
If we divide 283 by 31, we get 9 and a remainder of 4.
The next digit of our result is 9. 
Result so far: 319.0
If we subtract 279 from 283, we get 4.
Bring next digit (7) of the dividend behind the 4 and repeat the process: 47 / 31

Moving on to step 5:
31 goes into 47 1 times with a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 3191.0
The remainder is 16 after subtracting 31 from 47.
Append the next digit (8) from the dividend to 16 and continue with: 168 / 31

Step 6:
When dividing 168 by 31, we get 5 with a remainder of 13.
Record the quotient 5 as the next digit in the result. 
Result so far: 31915.0
If we subtract 155 from 168, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
When dividing 130 by 31, we get 4 with a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 31915.4
The remainder is 6 after subtracting 124 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 8:
31 can be fit into 60 1 times, resulting in a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 31915.41
Subtract 31 from 60 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 9:
When dividing 290 by 31, we get 9 with a remainder of 11.
The next digit of our result is 9. 
Result so far: 31915.419
If we take 279 away from 290, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 10:
When dividing 110 by 31, we get 3 with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 31915.4193
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 11:
When dividing 170 by 31, we get 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 31915.41935
Deduct 155 from 170 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 12:
150 divided by 31 is 4 with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 31915.419354
Subtracting 124 from 150 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 13:
When dividing 260 by 31, we get 8 with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 31915.4193548
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 14:
120 divided by 31 is 3 with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 31915.41935483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The quotient of the division is 31915.41935483, and the remainder is 2.7e-08.