31958850 ÷ 166 
Our goal is to divide 31958850 by 166.

On to step 1:
If we divide 3 by 166, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 166

Moving on to step 2:
The number 166 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (9) from the dividend, add it to 31, then carry on: 319 / 166

Step 3:
The number 166 fits into 319 1 times, leaving a remainder of 153.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 166 away from 319, we end up with 153.
Fetch the next digit (5) from the dividend, attach it to 153 and continue: 1535 / 166

Going ahead to step 4:
When dividing 1535 by 166, we get 9 with a remainder of 41.
Write down 9 as next digit of the result. 
Result so far: 19.0
If we take 1494 away from 1535, we end up with 41.
Take the next digit (8) from the dividend and append it to 41, then repeat: 418 / 166

Step 5:
166 goes into 418 2 times with a remainder of 86.
The number 2 becomes the next digit in our result. 
Result so far: 192.0
If we take 332 away from 418, we end up with 86.
Fetch the next digit (8) from the dividend, attach it to 86 and continue: 868 / 166

Step 6:
When dividing 868 by 166, we get 5 with a remainder of 38.
Put 5 as the next digit of the answer. 
Result so far: 1925.0
If we take 830 away from 868, we end up with 38.
Bring next digit (5) of the dividend behind the 38 and repeat the process: 385 / 166

Advancing to step 7:
The number 166 fits into 385 2 times, leaving a remainder of 53.
Put 2 as the next digit of the answer. 
Result so far: 19252.0
Subtracting 332 from 385 leaves us with 53.
Grab the next digit (0) from the dividend, add it to 53, then carry on: 530 / 166

Let's proceed to step 8:
When dividing 530 by 166, we get 3 with a remainder of 32.
Record the quotient 3 as the next digit in the result. 
Result so far: 192523.0
If we subtract 498 from 530, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 9:
The number 166 fits into 320 1 times, leaving a remainder of 154.
Record the quotient 1 as the next digit in the result. 
Result so far: 192523.1
The remainder is 154 after subtracting 166 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Step 10:
166 goes into 1540 9 times with a remainder of 46.
The next digit of our result is 9. 
Result so far: 192523.19
If we take 1494 away from 1540, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 11:
166 goes into 460 2 times with a remainder of 128.
Record the quotient 2 as the next digit in the result. 
Result so far: 192523.192
If we subtract 332 from 460, we get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

Going ahead to step 12:
166 can be fit into 1280 7 times, resulting in a remainder of 118.
The number 7 becomes the next digit in our result. 
Result so far: 192523.1927
Subtract 1162 from 1280 to get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Moving on to step 13:
1180 divided by 166 is 7 with a remainder of 18.
Put 7 as the next digit of the answer. 
Result so far: 192523.19277
Subtracting 1162 from 1180 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.

Our division results in 192523.19277 with a remaining 1.8e-05.