Let's divide 39840519 by 501
Let's see how many times 501 fits into 39840519.

Moving on to step 1:
3 divided by 501 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 501

Advancing to step 2:
39 divided by 501 is 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 39 after subtracting 0 from 39.
Grab the next digit (8) from the dividend, add it to 39, then carry on: 398 / 501

On to step 3:
501 goes into 398 0 times with a remainder of 398.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 398 and we're left with 398.
Take the next digit (4) from the dividend and append it to 398, then repeat: 3984 / 501

On to step 4:
When dividing 3984 by 501, we get 7 with a remainder of 477.
Put 7 as the next digit of the answer. 
Result so far: 7.0
The remainder is 477 after subtracting 3507 from 3984.
Take the next digit (0) from the dividend and append it to 477, then repeat: 4770 / 501

Let's proceed to step 5:
When dividing 4770 by 501, we get 9 with a remainder of 261.
Put 9 as the next digit of the answer. 
Result so far: 79.0
Subtracting 4509 from 4770 leaves us with 261.
Include the next digit (5) from the dividend after 261, then repeat: 2615 / 501

On to step 6:
When dividing 2615 by 501, we get 5 with a remainder of 110.
Write down 5 as next digit of the result. 
Result so far: 795.0
If we take 2505 away from 2615, we end up with 110.
Bring next digit (1) of the dividend behind the 110 and repeat the process: 1101 / 501

Going ahead to step 7:
1101 divided by 501 is 2 with a remainder of 99.
Put 2 as the next digit of the answer. 
Result so far: 7952.0
If we subtract 1002 from 1101, we get 99.
Include the next digit (9) from the dividend after 99, then repeat: 999 / 501

Advancing to step 8:
501 can be fit into 999 1 times, resulting in a remainder of 498.
The next digit of our result is 1. 
Result so far: 79521.0
If we take 501 away from 999, we end up with 498.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4980, and continue the process.

Step 9:
If we divide 4980 by 501, we get 9 and a remainder of 471.
The number 9 becomes the next digit in our result. 
Result so far: 79521.9
Subtracting 4509 from 4980 leaves us with 471.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4710, and continue the process.

Going ahead to step 10:
If we divide 4710 by 501, we get 9 and a remainder of 201.
Record the quotient 9 as the next digit in the result. 
Result so far: 79521.99
If we take 4509 away from 4710, we end up with 201.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2010, and continue the process.

Our division results in 79521.99 with a remaining 0.201.