We divide 166415 by 77
Let's see how many times 77 fits into 166415.

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

On to step 2:
77 can be fit into 16 0 times, resulting in a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 16, we end up with 16.
Include the next digit (6) from the dividend after 16, then repeat: 166 / 77

Let's proceed to step 3:
If we divide 166 by 77, we get 2 and a remainder of 12.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 154 from 166, we get 12.
Fetch the next digit (4) from the dividend, attach it to 12 and continue: 124 / 77

On to step 4:
77 goes into 124 1 times with a remainder of 47.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Subtracting 77 from 124 leaves us with 47.
Fetch the next digit (1) from the dividend, attach it to 47 and continue: 471 / 77

Going ahead to step 5:
If we divide 471 by 77, we get 6 and a remainder of 9.
Use 6 as the next digit of our solution. 
Result so far: 216.0
If we subtract 462 from 471, we get 9.
Grab the next digit (5) from the dividend, add it to 9, then carry on: 95 / 77

Moving on to step 6:
When dividing 95 by 77, we get 1 with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 2161.0
If we take 77 away from 95, we end up 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.

Moving on to step 7:
180 divided by 77 is 2 with a remainder of 26.
Record the quotient 2 as the next digit in the result. 
Result so far: 2161.2
If we take 154 away from 180, 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.

On to step 8:
The number 77 fits into 260 3 times, leaving a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 2161.23
The remainder is 29 after subtracting 231 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 9:
If we divide 290 by 77, we get 3 and a remainder of 59.
The next digit of our result is 3. 
Result so far: 2161.233
If we subtract 231 from 290, we get 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Our division results in 2161.233 with a remaining 0.0059.