Let's divide 988891 by 31
We want to divide 988891 by 31.

Advancing to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 31

Moving on to step 2:
The number 31 fits into 98 3 times, leaving a remainder of 5.
The next digit of our result is 3. 
Result so far: 3.0
Deduct 93 from 98 and we're left with 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 31

Step 3:
31 can be fit into 58 1 times, resulting in a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Deduct 31 from 58 and we're left with 27.
Fetch the next digit (8) from the dividend, attach it to 27 and continue: 278 / 31

Let's proceed to step 4:
31 can be fit into 278 8 times, resulting in a remainder of 30.
Write down 8 as next digit of the result. 
Result so far: 318.0
Subtracting 248 from 278 leaves us with 30.
Fetch the next digit (9) from the dividend, attach it to 30 and continue: 309 / 31

Going ahead to step 5:
309 divided by 31 is 9 with a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 3189.0
Deduct 279 from 309 and we're left with 30.
Grab the next digit (1) from the dividend, add it to 30, then carry on: 301 / 31

Advancing to step 6:
301 divided by 31 is 9 with a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 31899.0
If we subtract 279 from 301, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
31 goes into 220 7 times with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 31899.7
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 8:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 31899.7
If we subtract 0 from 30, 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.

On to step 9:
31 goes into 300 9 times with a remainder of 21.
The next digit of our result is 9. 
Result so far: 31899.709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 10:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 31899.7096
Subtract 186 from 210 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 11:
If we divide 240 by 31, we get 7 and a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 31899.70967
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 12:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Record the quotient 7 as the next digit in the result. 
Result so far: 31899.709677
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 quotient of the division is 31899.709677, and the remainder is 1.3e-06.