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

Advancing 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
Subtract 0 from 9 to get 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 31

On to step 2:
31 can be fit into 97 3 times, resulting in a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 93 from 97, we get 4.
Include the next digit (8) from the dividend after 4, then repeat: 48 / 31

Let's proceed to step 3:
48 divided by 31 is 1 with a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
Deduct 31 from 48 and we're left with 17.
Append the next digit (1) from the dividend to 17 and continue with: 171 / 31

Advancing to step 4:
31 goes into 171 5 times with a remainder of 16.
The next digit of our result is 5. 
Result so far: 315.0
Subtracting 155 from 171 leaves us with 16.
Include the next digit (5) from the dividend after 16, then repeat: 165 / 31

Moving on to step 5:
31 can be fit into 165 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 3155.0
If we take 155 away from 165, we end up with 10.
Include the next digit (6) from the dividend after 10, then repeat: 106 / 31

Going ahead to step 6:
The number 31 fits into 106 3 times, leaving a remainder of 13.
The number 3 becomes the next digit in our result. 
Result so far: 31553.0
Subtracting 93 from 106 leaves us 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.

Step 7:
The number 31 fits into 130 4 times, leaving a remainder of 6.
Put 4 as the next digit of the answer. 
Result so far: 31553.4
If we take 124 away from 130, we end up 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.

Going ahead to step 8:
If we divide 60 by 31, we get 1 and a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 31553.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.
Use 9 as the next digit of our solution. 
Result so far: 31553.419
Deduct 279 from 290 and we're left 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.

Let's proceed to step 10:
31 can be fit into 110 3 times, resulting in a remainder of 17.
Put 3 as the next digit of the answer. 
Result so far: 31553.4193
If we subtract 93 from 110, we 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.

On to step 11:
If we divide 170 by 31, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 31553.41935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 12:
31 can be fit into 150 4 times, resulting in a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 31553.419354
If we take 124 away from 150, we end up 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.

Let's proceed to step 13:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 31553.4193548
Subtracting 248 from 260 leaves us 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.

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: 31553.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.

Our division results in 31553.41935483 with a remaining 2.7e-08.