166789 divided by 155 
Let's see how many times 155 fits into 166789.

Let's proceed to step 1:
The number 155 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 155

Moving on to step 2:
When dividing 16 by 155, we get 0 with a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Take the next digit (6) from the dividend and append it to 16, then repeat: 166 / 155

Advancing to step 3:
155 can be fit into 166 1 times, resulting in a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 11 after subtracting 155 from 166.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 155

On to step 4:
155 goes into 117 0 times with a remainder of 117.
The next digit of our result is 0. 
Result so far: 10.0
Subtract 0 from 117 to get 117.
Take the next digit (8) from the dividend and append it to 117, then repeat: 1178 / 155

Going ahead to step 5:
The number 155 fits into 1178 7 times, leaving a remainder of 93.
Write down 7 as next digit of the result. 
Result so far: 107.0
Subtract 1085 from 1178 to get 93.
Fetch the next digit (9) from the dividend, attach it to 93 and continue: 939 / 155

Let's proceed to step 6:
939 divided by 155 is 6 with a remainder of 9.
Record the quotient 6 as the next digit in the result. 
Result so far: 1076.0
Deduct 930 from 939 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 7:
90 divided by 155 is 0 with a remainder of 90.
The next digit of our result is 0. 
Result so far: 1076.0
Subtract 0 from 90 to get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Advancing to step 8:
155 goes into 900 5 times with a remainder of 125.
Put 5 as the next digit of the answer. 
Result so far: 1076.05
Deduct 775 from 900 and we're left with 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Going ahead to step 9:
1250 divided by 155 is 8 with a remainder of 10.
Write down 8 as next digit of the result. 
Result so far: 1076.058
The remainder is 10 after subtracting 1240 from 1250.
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:
155 goes into 100 0 times with a remainder of 100.
Record the quotient 0 as the next digit in the result. 
Result so far: 1076.058
If we take 0 away from 100, we end up with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 11:
When dividing 1000 by 155, we get 6 with a remainder of 70.
Put 6 as the next digit of the answer. 
Result so far: 1076.05806
The remainder is 70 after subtracting 930 from 1000.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 12:
155 goes into 700 4 times with a remainder of 80.
The number 4 becomes the next digit in our result. 
Result so far: 1076.058064
Subtract 620 from 700 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 13:
If we divide 800 by 155, we get 5 and a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 1076.0580645
Deduct 775 from 800 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 14:
155 can be fit into 250 1 times, resulting in a remainder of 95.
The next digit of our result is 1. 
Result so far: 1076.05806451
The remainder is 95 after subtracting 155 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

The quotient of the division is 1076.05806451, and the remainder is 9.5e-08.