Let's divide 1640676 by 580
We want to figure out the number of times 1640676 can be divided by 580.

Going ahead to step 1:
If we divide 1 by 580, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 580

Going ahead to step 2:
580 goes into 16 0 times with a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 16 after subtracting 0 from 16.
Grab the next digit (4) from the dividend, add it to 16, then carry on: 164 / 580

Advancing to step 3:
164 divided by 580 is 0 with a remainder of 164.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 164, we get 164.
Include the next digit (0) from the dividend after 164, then repeat: 1640 / 580

Step 4:
580 can be fit into 1640 2 times, resulting in a remainder of 480.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 1160 from 1640 to get 480.
Include the next digit (6) from the dividend after 480, then repeat: 4806 / 580

Step 5:
580 goes into 4806 8 times with a remainder of 166.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
The remainder is 166 after subtracting 4640 from 4806.
Bring next digit (7) of the dividend behind the 166 and repeat the process: 1667 / 580

Advancing to step 6:
When dividing 1667 by 580, we get 2 with a remainder of 507.
Write down 2 as next digit of the result. 
Result so far: 282.0
Subtract 1160 from 1667 to get 507.
Take the next digit (6) from the dividend and append it to 507, then repeat: 5076 / 580

On to step 7:
If we divide 5076 by 580, we get 8 and a remainder of 436.
Use 8 as the next digit of our solution. 
Result so far: 2828.0
Subtracting 4640 from 5076 leaves us with 436.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4360, and continue the process.

Step 8:
580 goes into 4360 7 times with a remainder of 300.
Put 7 as the next digit of the answer. 
Result so far: 2828.7
The remainder is 300 after subtracting 4060 from 4360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Step 9:
If we divide 3000 by 580, we get 5 and a remainder of 100.
Write down 5 as next digit of the result. 
Result so far: 2828.75
If we subtract 2900 from 3000, we get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

On to step 10:
580 goes into 1000 1 times with a remainder of 420.
Put 1 as the next digit of the answer. 
Result so far: 2828.751
Subtracting 580 from 1000 leaves us with 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4200, and continue the process.

On to step 11:
580 can be fit into 4200 7 times, resulting in a remainder of 140.
Use 7 as the next digit of our solution. 
Result so far: 2828.7517
Deduct 4060 from 4200 and we're left with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

On to step 12:
580 goes into 1400 2 times with a remainder of 240.
Put 2 as the next digit of the answer. 
Result so far: 2828.75172
If we subtract 1160 from 1400, we get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Let's proceed to step 13:
2400 divided by 580 is 4 with a remainder of 80.
Write down 4 as next digit of the result. 
Result so far: 2828.751724
Subtracting 2320 from 2400 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 14:
580 goes into 800 1 times with a remainder of 220.
Record the quotient 1 as the next digit in the result. 
Result so far: 2828.7517241
If we take 580 away from 800, we end up with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Let's proceed to step 15:
2200 divided by 580 is 3 with a remainder of 460.
Record the quotient 3 as the next digit in the result. 
Result so far: 2828.75172413
Deduct 1740 from 2200 and we're left with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

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