We divide 91166 by 31
We're looking to find how many times 31 goes into 91166.

Going ahead to step 1:
31 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 31

Moving on to step 2:
If we divide 91 by 31, we get 2 and a remainder of 29.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 62 from 91 to get 29.
Include the next digit (1) from the dividend after 29, then repeat: 291 / 31

Let's proceed to step 3:
If we divide 291 by 31, we get 9 and a remainder of 12.
Put 9 as the next digit of the answer. 
Result so far: 29.0
If we take 279 away from 291, we end up with 12.
Bring next digit (6) of the dividend behind the 12 and repeat the process: 126 / 31

Step 4:
If we divide 126 by 31, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 294.0
Subtract 124 from 126 to get 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 31

Advancing to step 5:
When dividing 26 by 31, we get 0 with a remainder of 26.
Use 0 as the next digit of our solution. 
Result so far: 2940.0
If we take 0 away from 26, 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 6:
31 can be fit into 260 8 times, resulting in a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 2940.8
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.

Step 7:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 2940.83
Deduct 93 from 120 and we're left 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.

Let's proceed to step 8:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 2940.838
If we subtract 248 from 270, 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.

Advancing to step 9:
31 can be fit into 220 7 times, resulting in a remainder of 3.
The next digit of our result is 7. 
Result so far: 2940.8387
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.

Advancing to step 10:
When dividing 30 by 31, we get 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 2940.8387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 11:
When dividing 300 by 31, we get 9 with a remainder of 21.
Write down 9 as next digit of the result. 
Result so far: 2940.838709
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.

Step 12:
210 divided by 31 is 6 with a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 2940.8387096
If we subtract 186 from 210, we 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.

Advancing to step 13:
240 divided by 31 is 7 with a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 2940.83870967
If we take 217 away from 240, we end up 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.

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