Let's divide 31943464 by 166
Our goal is to divide 31943464 by 166.

Going ahead to step 1:
166 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 166

Advancing to step 2:
31 divided by 166 is 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Take the next digit (9) from the dividend and append it to 31, then repeat: 319 / 166

On to step 3:
166 goes into 319 1 times with a remainder of 153.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 166 from 319 to get 153.
Bring next digit (4) of the dividend behind the 153 and repeat the process: 1534 / 166

Going ahead to step 4:
The number 166 fits into 1534 9 times, leaving a remainder of 40.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Subtract 1494 from 1534 to get 40.
Append the next digit (3) from the dividend to 40 and continue with: 403 / 166

On to step 5:
When dividing 403 by 166, we get 2 with a remainder of 71.
The next digit of our result is 2. 
Result so far: 192.0
Subtract 332 from 403 to get 71.
Fetch the next digit (4) from the dividend, attach it to 71 and continue: 714 / 166

On to step 6:
166 can be fit into 714 4 times, resulting in a remainder of 50.
Use 4 as the next digit of our solution. 
Result so far: 1924.0
The remainder is 50 after subtracting 664 from 714.
Include the next digit (6) from the dividend after 50, then repeat: 506 / 166

Advancing to step 7:
166 goes into 506 3 times with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 19243.0
Deduct 498 from 506 and we're left with 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 166

Advancing to step 8:
The number 166 fits into 84 0 times, leaving a remainder of 84.
Write down 0 as next digit of the result. 
Result so far: 192430.0
If we take 0 away from 84, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 9:
The number 166 fits into 840 5 times, leaving a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 192430.5
Deduct 830 from 840 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
When dividing 100 by 166, we get 0 with a remainder of 100.
Write down 0 as next digit of the result. 
Result so far: 192430.5
If we subtract 0 from 100, we get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Let's proceed to step 11:
The number 166 fits into 1000 6 times, leaving a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 192430.506
Subtract 996 from 1000 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 12:
The number 166 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 192430.506
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 13:
166 can be fit into 400 2 times, resulting in a remainder of 68.
Use 2 as the next digit of our solution. 
Result so far: 192430.50602
Subtracting 332 from 400 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 14:
680 divided by 166 is 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 192430.506024
Deduct 664 from 680 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 15:
When dividing 160 by 166, we get 0 with a remainder of 160.
The number 0 becomes the next digit in our result. 
Result so far: 192430.506024
If we subtract 0 from 160, we get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Step 16:
The number 166 fits into 1600 9 times, leaving a remainder of 106.
Put 9 as the next digit of the answer. 
Result so far: 192430.50602409
If we take 1494 away from 1600, we end up with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

After the division, we end up with 192430.50602409 and a remainder of 1.06e-07.