We're dividing 39524570 by 798 
Let's see how many times 798 fits into 39524570.

Advancing to step 1:
3 divided by 798 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 798

Step 2:
The number 798 fits into 39 0 times, leaving a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Append the next digit (5) from the dividend to 39 and continue with: 395 / 798

Going ahead to step 3:
395 divided by 798 is 0 with a remainder of 395.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 395, we get 395.
Include the next digit (2) from the dividend after 395, then repeat: 3952 / 798

Step 4:
798 can be fit into 3952 4 times, resulting in a remainder of 760.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtracting 3192 from 3952 leaves us with 760.
Bring next digit (4) of the dividend behind the 760 and repeat the process: 7604 / 798

Moving on to step 5:
7604 divided by 798 is 9 with a remainder of 422.
The next digit of our result is 9. 
Result so far: 49.0
Deduct 7182 from 7604 and we're left with 422.
Append the next digit (5) from the dividend to 422 and continue with: 4225 / 798

Let's proceed to step 6:
798 goes into 4225 5 times with a remainder of 235.
Write down 5 as next digit of the result. 
Result so far: 495.0
The remainder is 235 after subtracting 3990 from 4225.
Fetch the next digit (7) from the dividend, attach it to 235 and continue: 2357 / 798

Let's proceed to step 7:
798 can be fit into 2357 2 times, resulting in a remainder of 761.
The next digit of our result is 2. 
Result so far: 4952.0
Subtract 1596 from 2357 to get 761.
Fetch the next digit (0) from the dividend, attach it to 761 and continue: 7610 / 798

On to step 8:
When dividing 7610 by 798, we get 9 with a remainder of 428.
The next digit of our result is 9. 
Result so far: 49529.0
Subtract 7182 from 7610 to get 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

On to step 9:
If we divide 4280 by 798, we get 5 and a remainder of 290.
Put 5 as the next digit of the answer. 
Result so far: 49529.5
If we subtract 3990 from 4280, we get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Moving on to step 10:
If we divide 2900 by 798, we get 3 and a remainder of 506.
Use 3 as the next digit of our solution. 
Result so far: 49529.53
Subtract 2394 from 2900 to get 506.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5060, and continue the process.

Moving on to step 11:
5060 divided by 798 is 6 with a remainder of 272.
The next digit of our result is 6. 
Result so far: 49529.536
Deduct 4788 from 5060 and we're left with 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Advancing to step 12:
798 can be fit into 2720 3 times, resulting in a remainder of 326.
The number 3 becomes the next digit in our result. 
Result so far: 49529.5363
Deduct 2394 from 2720 and we're left with 326.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3260, and continue the process.

Let's proceed to step 13:
3260 divided by 798 is 4 with a remainder of 68.
Put 4 as the next digit of the answer. 
Result so far: 49529.53634
If we take 3192 away from 3260, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Advancing to step 14:
The number 798 fits into 680 0 times, leaving a remainder of 680.
Write down 0 as next digit of the result. 
Result so far: 49529.53634
Subtract 0 from 680 to get 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Going ahead to step 15:
798 can be fit into 6800 8 times, resulting in a remainder of 416.
The next digit of our result is 8. 
Result so far: 49529.5363408
Subtract 6384 from 6800 to get 416.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4160, and continue the process.

Step 16:
The number 798 fits into 4160 5 times, leaving a remainder of 170.
Use 5 as the next digit of our solution. 
Result so far: 49529.53634085
Deduct 3990 from 4160 and we're left with 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1700, and continue the process.

Our division results in 49529.53634085 with a remaining 1.7e-07.