We're dividing 4015730 by 487 
We're looking to find how many times 487 goes into 4015730.

Moving on to step 1:
487 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 487

On to step 2:
The number 487 fits into 40 0 times, leaving a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 487

Moving on to step 3:
If we divide 401 by 487, we get 0 and a remainder of 401.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 401, we end up with 401.
Bring next digit (5) of the dividend behind the 401 and repeat the process: 4015 / 487

Moving on to step 4:
When dividing 4015 by 487, we get 8 with a remainder of 119.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtracting 3896 from 4015 leaves us with 119.
Bring next digit (7) of the dividend behind the 119 and repeat the process: 1197 / 487

Step 5:
1197 divided by 487 is 2 with a remainder of 223.
The number 2 becomes the next digit in our result. 
Result so far: 82.0
If we take 974 away from 1197, we end up with 223.
Fetch the next digit (3) from the dividend, attach it to 223 and continue: 2233 / 487

Step 6:
487 goes into 2233 4 times with a remainder of 285.
Use 4 as the next digit of our solution. 
Result so far: 824.0
The remainder is 285 after subtracting 1948 from 2233.
Bring next digit (0) of the dividend behind the 285 and repeat the process: 2850 / 487

On to step 7:
When dividing 2850 by 487, we get 5 with a remainder of 415.
Use 5 as the next digit of our solution. 
Result so far: 8245.0
Subtracting 2435 from 2850 leaves us with 415.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4150, and continue the process.

Advancing to step 8:
487 can be fit into 4150 8 times, resulting in a remainder of 254.
Use 8 as the next digit of our solution. 
Result so far: 8245.8
If we subtract 3896 from 4150, we get 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

On to step 9:
If we divide 2540 by 487, we get 5 and a remainder of 105.
Use 5 as the next digit of our solution. 
Result so far: 8245.85
Subtract 2435 from 2540 to get 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Step 10:
487 goes into 1050 2 times with a remainder of 76.
Put 2 as the next digit of the answer. 
Result so far: 8245.852
The remainder is 76 after subtracting 974 from 1050.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Moving on to step 11:
If we divide 760 by 487, we get 1 and a remainder of 273.
Put 1 as the next digit of the answer. 
Result so far: 8245.8521
If we take 487 away from 760, we end up with 273.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2730, and continue the process.

On to step 12:
487 goes into 2730 5 times with a remainder of 295.
Record the quotient 5 as the next digit in the result. 
Result so far: 8245.85215
If we subtract 2435 from 2730, we get 295.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2950, and continue the process.

Moving on to step 13:
If we divide 2950 by 487, we get 6 and a remainder of 28.
Record the quotient 6 as the next digit in the result. 
Result so far: 8245.852156
Deduct 2922 from 2950 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 14:
280 divided by 487 is 0 with a remainder of 280.
The number 0 becomes the next digit in our result. 
Result so far: 8245.852156
The remainder is 280 after subtracting 0 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

On to step 15:
487 goes into 2800 5 times with a remainder of 365.
The next digit of our result is 5. 
Result so far: 8245.85215605
If we subtract 2435 from 2800, we get 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

The final outcome is 8245.85215605, with a leftover of 3.65e-07.