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

Going ahead to step 1:
669 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 669

On to step 2:
669 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Bring next digit (5) of the dividend behind the 40 and repeat the process: 405 / 669

Advancing to step 3:
When dividing 405 by 669, we get 0 with a remainder of 405.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 405, we end up with 405.
Grab the next digit (8) from the dividend, add it to 405, then carry on: 4058 / 669

Advancing to step 4:
669 can be fit into 4058 6 times, resulting in a remainder of 44.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
If we subtract 4014 from 4058, we get 44.
Take the next digit (7) from the dividend and append it to 44, then repeat: 447 / 669

Step 5:
669 goes into 447 0 times with a remainder of 447.
Put 0 as the next digit of the answer. 
Result so far: 60.0
Subtract 0 from 447 to get 447.
Include the next digit (8) from the dividend after 447, then repeat: 4478 / 669

Moving on to step 6:
If we divide 4478 by 669, we get 6 and a remainder of 464.
Use 6 as the next digit of our solution. 
Result so far: 606.0
Subtract 4014 from 4478 to get 464.
Append the next digit (7) from the dividend to 464 and continue with: 4647 / 669

Moving on to step 7:
669 can be fit into 4647 6 times, resulting in a remainder of 633.
The number 6 becomes the next digit in our result. 
Result so far: 6066.0
Subtracting 4014 from 4647 leaves us with 633.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6330, and continue the process.

Moving on to step 8:
When dividing 6330 by 669, we get 9 with a remainder of 309.
The number 9 becomes the next digit in our result. 
Result so far: 6066.9
If we subtract 6021 from 6330, we get 309.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3090, and continue the process.

Moving on to step 9:
669 can be fit into 3090 4 times, resulting in a remainder of 414.
The number 4 becomes the next digit in our result. 
Result so far: 6066.94
Deduct 2676 from 3090 and we're left with 414.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4140, and continue the process.

On to step 10:
The number 669 fits into 4140 6 times, leaving a remainder of 126.
Put 6 as the next digit of the answer. 
Result so far: 6066.946
The remainder is 126 after subtracting 4014 from 4140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Advancing to step 11:
669 goes into 1260 1 times with a remainder of 591.
Record the quotient 1 as the next digit in the result. 
Result so far: 6066.9461
Subtract 669 from 1260 to get 591.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5910, and continue the process.

Moving on to step 12:
5910 divided by 669 is 8 with a remainder of 558.
Put 8 as the next digit of the answer. 
Result so far: 6066.94618
Subtracting 5352 from 5910 leaves us with 558.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5580, and continue the process.

Moving on to step 13:
If we divide 5580 by 669, we get 8 and a remainder of 228.
Write down 8 as next digit of the result. 
Result so far: 6066.946188
If we take 5352 away from 5580, we end up with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

The final result is 6066.946188 with a remainder of 2.28e-05.