We're dividing 981845 by 31 
We want to figure out the number of times 981845 can be divided by 31.

Let's proceed to step 1:
31 goes into 9 0 times with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 31

Going ahead to 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
If we subtract 93 from 98, we get 5.
Take the next digit (1) from the dividend and append it to 5, then repeat: 51 / 31

Advancing to step 3:
31 goes into 51 1 times with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Subtract 31 from 51 to get 20.
Fetch the next digit (8) from the dividend, attach it to 20 and continue: 208 / 31

Let's proceed to step 4:
If we divide 208 by 31, we get 6 and a remainder of 22.
Use 6 as the next digit of our solution. 
Result so far: 316.0
The remainder is 22 after subtracting 186 from 208.
Include the next digit (4) from the dividend after 22, then repeat: 224 / 31

Moving on to step 5:
31 can be fit into 224 7 times, resulting in a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 3167.0
Subtracting 217 from 224 leaves us with 7.
Bring next digit (5) of the dividend behind the 7 and repeat the process: 75 / 31

Moving on to step 6:
When dividing 75 by 31, we get 2 with a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 31672.0
If we subtract 62 from 75, 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.

On to step 7:
31 goes into 130 4 times with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 31672.4
Subtracting 124 from 130 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
The number 31 fits into 60 1 times, leaving a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 31672.41
If we take 31 away from 60, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 9:
When dividing 290 by 31, we get 9 with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 31672.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.

Moving on to step 10:
31 can be fit into 110 3 times, resulting in a remainder of 17.
The next digit of our result is 3. 
Result so far: 31672.4193
Subtracting 93 from 110 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 11:
31 can be fit into 170 5 times, resulting in a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 31672.41935
Subtracting 155 from 170 leaves us 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.

Let's proceed to step 12:
150 divided by 31 is 4 with a remainder of 26.
The next digit of our result is 4. 
Result so far: 31672.419354
If we subtract 124 from 150, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

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

Advancing to step 14:
If we divide 120 by 31, we get 3 and a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 31672.41935483
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

After the division, we end up with 31672.41935483 and a remainder of 2.7e-08.