We're dividing 8900 by 31 
We want to divide 8900 by 31.

Going ahead to step 1:
The number 31 fits into 8 0 times, leaving a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Grab the next digit (9) from the dividend, add it to 8, then carry on: 89 / 31

Advancing to step 2:
The number 31 fits into 89 2 times, leaving a remainder of 27.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 62 from 89, we get 27.
Bring next digit (0) of the dividend behind the 27 and repeat the process: 270 / 31

Advancing to step 3:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 28.0
If we take 248 away from 270, we end up with 22.
Grab the next digit (0) from the dividend, add it to 22, then carry on: 220 / 31

Going ahead to step 4:
31 goes into 220 7 times with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 287.0
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.

On to step 5:
When dividing 30 by 31, we get 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 287.0
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 6:
31 goes into 300 9 times with a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 287.09
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 7:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 287.096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 8:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 287.0967
The remainder is 23 after subtracting 217 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 9:
The number 31 fits into 230 7 times, leaving a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 287.09677
The remainder is 13 after subtracting 217 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 287.09677, with a leftover of 1.3e-05.