We look at the division of 990166 by 77 
We're looking to find how many times 77 goes into 990166.

Moving on to step 1:
When dividing 9 by 77, we get 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 77

Step 2:
If we divide 99 by 77, we get 1 and a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 77 away from 99, we end up with 22.
Take the next digit (0) from the dividend and append it to 22, then repeat: 220 / 77

Step 3:
77 goes into 220 2 times with a remainder of 66.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 154 from 220 leaves us with 66.
Bring next digit (1) of the dividend behind the 66 and repeat the process: 661 / 77

On to step 4:
If we divide 661 by 77, we get 8 and a remainder of 45.
Use 8 as the next digit of our solution. 
Result so far: 128.0
The remainder is 45 after subtracting 616 from 661.
Bring next digit (6) of the dividend behind the 45 and repeat the process: 456 / 77

On to step 5:
456 divided by 77 is 5 with a remainder of 71.
Record the quotient 5 as the next digit in the result. 
Result so far: 1285.0
Subtract 385 from 456 to get 71.
Grab the next digit (6) from the dividend, add it to 71, then carry on: 716 / 77

On to step 6:
716 divided by 77 is 9 with a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 12859.0
The remainder is 23 after subtracting 693 from 716.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 7:
If we divide 230 by 77, we get 2 and a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 12859.2
The remainder is 76 after subtracting 154 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 8:
77 goes into 760 9 times with a remainder of 67.
Use 9 as the next digit of our solution. 
Result so far: 12859.29
If we take 693 away from 760, we end up with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Going ahead to step 9:
If we divide 670 by 77, we get 8 and a remainder of 54.
Use 8 as the next digit of our solution. 
Result so far: 12859.298
If we take 616 away from 670, we end up with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 10:
When dividing 540 by 77, we get 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 12859.2987
If we subtract 539 from 540, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 11:
77 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 12859.2987
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 12:
77 can be fit into 100 1 times, resulting in a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 12859.298701
Subtract 77 from 100 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 13:
When dividing 230 by 77, we get 2 with a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 12859.2987012
The remainder is 76 after subtracting 154 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 14:
The number 77 fits into 760 9 times, leaving a remainder of 67.
Record the quotient 9 as the next digit in the result. 
Result so far: 12859.29870129
The remainder is 67 after subtracting 693 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

The final outcome is 12859.29870129, with a leftover of 6.7e-08.