We're dividing 40090220 by 580 
We want to divide 40090220 by 580.

Advancing to step 1:
When dividing 4 by 580, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 580

On to step 2:
The number 580 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (0) from the dividend to 40 and continue with: 400 / 580

On to step 3:
If we divide 400 by 580, we get 0 and a remainder of 400.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 400 leaves us with 400.
Fetch the next digit (9) from the dividend, attach it to 400 and continue: 4009 / 580

Advancing to step 4:
If we divide 4009 by 580, we get 6 and a remainder of 529.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 529 after subtracting 3480 from 4009.
Fetch the next digit (0) from the dividend, attach it to 529 and continue: 5290 / 580

Let's proceed to step 5:
When dividing 5290 by 580, we get 9 with a remainder of 70.
Put 9 as the next digit of the answer. 
Result so far: 69.0
If we subtract 5220 from 5290, we get 70.
Append the next digit (2) from the dividend to 70 and continue with: 702 / 580

Advancing to step 6:
580 can be fit into 702 1 times, resulting in a remainder of 122.
Record the quotient 1 as the next digit in the result. 
Result so far: 691.0
The remainder is 122 after subtracting 580 from 702.
Include the next digit (2) from the dividend after 122, then repeat: 1222 / 580

Moving on to step 7:
If we divide 1222 by 580, we get 2 and a remainder of 62.
Put 2 as the next digit of the answer. 
Result so far: 6912.0
Deduct 1160 from 1222 and we're left with 62.
Take the next digit (0) from the dividend and append it to 62, then repeat: 620 / 580

On to step 8:
When dividing 620 by 580, we get 1 with a remainder of 40.
The number 1 becomes the next digit in our result. 
Result so far: 69121.0
Deduct 580 from 620 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 9:
580 goes into 400 0 times with a remainder of 400.
Put 0 as the next digit of the answer. 
Result so far: 69121.0
Deduct 0 from 400 and we're left with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Moving on to step 10:
580 can be fit into 4000 6 times, resulting in a remainder of 520.
Put 6 as the next digit of the answer. 
Result so far: 69121.06
Deduct 3480 from 4000 and we're left with 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

On to step 11:
If we divide 5200 by 580, we get 8 and a remainder of 560.
Put 8 as the next digit of the answer. 
Result so far: 69121.068
Deduct 4640 from 5200 and we're left with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Advancing to step 12:
580 can be fit into 5600 9 times, resulting in a remainder of 380.
The next digit of our result is 9. 
Result so far: 69121.0689
If we take 5220 away from 5600, we end up with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

Advancing to step 13:
3800 divided by 580 is 6 with a remainder of 320.
The next digit of our result is 6. 
Result so far: 69121.06896
Subtract 3480 from 3800 to get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

On to step 14:
580 can be fit into 3200 5 times, resulting in a remainder of 300.
Write down 5 as next digit of the result. 
Result so far: 69121.068965
If we take 2900 away from 3200, we end up with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Step 15:
The number 580 fits into 3000 5 times, leaving a remainder of 100.
The number 5 becomes the next digit in our result. 
Result so far: 69121.0689655
Subtract 2900 from 3000 to 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.

The quotient of the division is 69121.0689655, and the remainder is 1e-06.