Let's divide 9777478 by 666
We're looking to find how many times 666 goes into 9777478.

Let's proceed to step 1:
The number 666 fits into 9 0 times, leaving a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 666

On to step 2:
If we divide 97 by 666, we get 0 and a remainder of 97.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 97 to get 97.
Bring next digit (7) of the dividend behind the 97 and repeat the process: 977 / 666

On to step 3:
The number 666 fits into 977 1 times, leaving a remainder of 311.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 666 from 977 and we're left with 311.
Take the next digit (7) from the dividend and append it to 311, then repeat: 3117 / 666

Moving on to step 4:
When dividing 3117 by 666, we get 4 with a remainder of 453.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Subtract 2664 from 3117 to get 453.
Append the next digit (4) from the dividend to 453 and continue with: 4534 / 666

Going ahead to step 5:
When dividing 4534 by 666, we get 6 with a remainder of 538.
Put 6 as the next digit of the answer. 
Result so far: 146.0
Deduct 3996 from 4534 and we're left with 538.
Fetch the next digit (7) from the dividend, attach it to 538 and continue: 5387 / 666

On to step 6:
666 can be fit into 5387 8 times, resulting in a remainder of 59.
Write down 8 as next digit of the result. 
Result so far: 1468.0
Subtract 5328 from 5387 to get 59.
Include the next digit (8) from the dividend after 59, then repeat: 598 / 666

Let's proceed to step 7:
666 can be fit into 598 0 times, resulting in a remainder of 598.
Record the quotient 0 as the next digit in the result. 
Result so far: 14680.0
If we subtract 0 from 598, we get 598.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5980, and continue the process.

Advancing to step 8:
When dividing 5980 by 666, we get 8 with a remainder of 652.
Record the quotient 8 as the next digit in the result. 
Result so far: 14680.8
If we take 5328 away from 5980, we end up with 652.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6520, and continue the process.

Going ahead to step 9:
666 goes into 6520 9 times with a remainder of 526.
Use 9 as the next digit of our solution. 
Result so far: 14680.89
If we take 5994 away from 6520, we end up with 526.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5260, and continue the process.

Going ahead to step 10:
666 can be fit into 5260 7 times, resulting in a remainder of 598.
Use 7 as the next digit of our solution. 
Result so far: 14680.897
Subtracting 4662 from 5260 leaves us with 598.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5980, and continue the process.

Advancing to step 11:
666 can be fit into 5980 8 times, resulting in a remainder of 652.
Put 8 as the next digit of the answer. 
Result so far: 14680.8978
If we take 5328 away from 5980, we end up with 652.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6520, and continue the process.

Step 12:
If we divide 6520 by 666, we get 9 and a remainder of 526.
The number 9 becomes the next digit in our result. 
Result so far: 14680.89789
Subtracting 5994 from 6520 leaves us with 526.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5260, and continue the process.

On to step 13:
When dividing 5260 by 666, we get 7 with a remainder of 598.
The number 7 becomes the next digit in our result. 
Result so far: 14680.897897
Deduct 4662 from 5260 and we're left with 598.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5980, and continue the process.

Moving on to step 14:
If we divide 5980 by 666, we get 8 and a remainder of 652.
Put 8 as the next digit of the answer. 
Result so far: 14680.8978978
Subtract 5328 from 5980 to get 652.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6520, and continue the process.

Step 15:
6520 divided by 666 is 9 with a remainder of 526.
The next digit of our result is 9. 
Result so far: 14680.89789789
Subtract 5994 from 6520 to get 526.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5260, and continue the process.

Our division results in 14680.89789789 with a remaining 5.26e-07.