23779940 ÷ 666 
We want to divide 23779940 by 666.

Advancing to step 1:
2 divided by 666 is 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (3) from the dividend, add it to 2, then carry on: 23 / 666

Moving on to step 2:
The number 666 fits into 23 0 times, leaving a remainder of 23.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 23 leaves us with 23.
Append the next digit (7) from the dividend to 23 and continue with: 237 / 666

Step 3:
When dividing 237 by 666, we get 0 with a remainder of 237.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 237, we get 237.
Grab the next digit (7) from the dividend, add it to 237, then carry on: 2377 / 666

Moving on to step 4:
The number 666 fits into 2377 3 times, leaving a remainder of 379.
Write down 3 as next digit of the result. 
Result so far: 3.0
Deduct 1998 from 2377 and we're left with 379.
Append the next digit (9) from the dividend to 379 and continue with: 3799 / 666

Going ahead to step 5:
666 goes into 3799 5 times with a remainder of 469.
Record the quotient 5 as the next digit in the result. 
Result so far: 35.0
Subtracting 3330 from 3799 leaves us with 469.
Include the next digit (9) from the dividend after 469, then repeat: 4699 / 666

Let's proceed to step 6:
666 goes into 4699 7 times with a remainder of 37.
The number 7 becomes the next digit in our result. 
Result so far: 357.0
Subtract 4662 from 4699 to get 37.
Include the next digit (4) from the dividend after 37, then repeat: 374 / 666

Step 7:
If we divide 374 by 666, we get 0 and a remainder of 374.
The number 0 becomes the next digit in our result. 
Result so far: 3570.0
If we take 0 away from 374, we end up with 374.
Bring next digit (0) of the dividend behind the 374 and repeat the process: 3740 / 666

Let's proceed to step 8:
The number 666 fits into 3740 5 times, leaving a remainder of 410.
Put 5 as the next digit of the answer. 
Result so far: 35705.0
If we take 3330 away from 3740, we end up with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Step 9:
666 can be fit into 4100 6 times, resulting in a remainder of 104.
Put 6 as the next digit of the answer. 
Result so far: 35705.6
Deduct 3996 from 4100 and we're left with 104.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Step 10:
The number 666 fits into 1040 1 times, leaving a remainder of 374.
Record the quotient 1 as the next digit in the result. 
Result so far: 35705.61
Subtract 666 from 1040 to get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Let's proceed to step 11:
666 can be fit into 3740 5 times, resulting in a remainder of 410.
Write down 5 as next digit of the result. 
Result so far: 35705.615
The remainder is 410 after subtracting 3330 from 3740.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Let's proceed to step 12:
666 goes into 4100 6 times with a remainder of 104.
Put 6 as the next digit of the answer. 
Result so far: 35705.6156
The remainder is 104 after subtracting 3996 from 4100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

On to step 13:
666 can be fit into 1040 1 times, resulting in a remainder of 374.
Write down 1 as next digit of the result. 
Result so far: 35705.61561
If we subtract 666 from 1040, we get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Going ahead to step 14:
666 can be fit into 3740 5 times, resulting in a remainder of 410.
Write down 5 as next digit of the result. 
Result so far: 35705.615615
If we take 3330 away from 3740, we end up with 410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4100, and continue the process.

Advancing to step 15:
4100 divided by 666 is 6 with a remainder of 104.
Use 6 as the next digit of our solution. 
Result so far: 35705.6156156
The remainder is 104 after subtracting 3996 from 4100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1040, and continue the process.

Step 16:
When dividing 1040 by 666, we get 1 with a remainder of 374.
Use 1 as the next digit of our solution. 
Result so far: 35705.61561561
The remainder is 374 after subtracting 666 from 1040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

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