We're dividing 990767 by 31 
Our goal is to divide 990767 by 31.

Advancing to step 1:
The number 31 fits into 9 0 times, leaving 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 (9) from the dividend, add it to 9, then carry on: 99 / 31

On to step 2:
If we divide 99 by 31, we get 3 and a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 93 from 99 leaves us with 6.
Fetch the next digit (0) from the dividend, attach it to 6 and continue: 60 / 31

Going ahead to step 3:
31 goes into 60 1 times with a remainder of 29.
Put 1 as the next digit of the answer. 
Result so far: 31.0
If we subtract 31 from 60, we get 29.
Fetch the next digit (7) from the dividend, attach it to 29 and continue: 297 / 31

Moving on to step 4:
31 can be fit into 297 9 times, resulting in a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 319.0
Subtract 279 from 297 to get 18.
Grab the next digit (6) from the dividend, add it to 18, then carry on: 186 / 31

On to step 5:
186 divided by 31 is 6 with a remainder of 0.
The next digit of our result is 6. 
Result so far: 3196.0
If we subtract 186 from 186, we get 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 31

Step 6:
31 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 31960.0
If we take 0 away from 7, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
70 divided by 31 is 2 with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 31960.2
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 8:
31 can be fit into 80 2 times, resulting in a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 31960.22
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 31960.22, with a leftover of 0.018.