We're dividing 39791685 by 474 
We want to figure out the number of times 39791685 can be divided by 474.

Advancing to step 1:
474 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 474

Moving on to step 2:
39 divided by 474 is 0 with a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 474

Moving on to step 3:
474 can be fit into 397 0 times, resulting in a remainder of 397.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 397 and we're left with 397.
Include the next digit (9) from the dividend after 397, then repeat: 3979 / 474

On to step 4:
If we divide 3979 by 474, we get 8 and a remainder of 187.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Deduct 3792 from 3979 and we're left with 187.
Include the next digit (1) from the dividend after 187, then repeat: 1871 / 474

On to step 5:
1871 divided by 474 is 3 with a remainder of 449.
Write down 3 as next digit of the result. 
Result so far: 83.0
Deduct 1422 from 1871 and we're left with 449.
Take the next digit (6) from the dividend and append it to 449, then repeat: 4496 / 474

On to step 6:
474 can be fit into 4496 9 times, resulting in a remainder of 230.
Use 9 as the next digit of our solution. 
Result so far: 839.0
Subtracting 4266 from 4496 leaves us with 230.
Bring next digit (8) of the dividend behind the 230 and repeat the process: 2308 / 474

Going ahead to step 7:
474 goes into 2308 4 times with a remainder of 412.
Use 4 as the next digit of our solution. 
Result so far: 8394.0
The remainder is 412 after subtracting 1896 from 2308.
Include the next digit (5) from the dividend after 412, then repeat: 4125 / 474

Going ahead to step 8:
The number 474 fits into 4125 8 times, leaving a remainder of 333.
Use 8 as the next digit of our solution. 
Result so far: 83948.0
If we subtract 3792 from 4125, we get 333.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3330, and continue the process.

Let's proceed to step 9:
If we divide 3330 by 474, we get 7 and a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 83948.7
Subtract 3318 from 3330 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
The number 474 fits into 120 0 times, leaving a remainder of 120.
Put 0 as the next digit of the answer. 
Result so far: 83948.7
Deduct 0 from 120 and we're left with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

On to step 11:
474 goes into 1200 2 times with a remainder of 252.
Put 2 as the next digit of the answer. 
Result so far: 83948.702
The remainder is 252 after subtracting 948 from 1200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

Going ahead to step 12:
When dividing 2520 by 474, we get 5 with a remainder of 150.
Write down 5 as next digit of the result. 
Result so far: 83948.7025
The remainder is 150 after subtracting 2370 from 2520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Going ahead to step 13:
474 goes into 1500 3 times with a remainder of 78.
Record the quotient 3 as the next digit in the result. 
Result so far: 83948.70253
If we subtract 1422 from 1500, we get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Going ahead to step 14:
When dividing 780 by 474, we get 1 with a remainder of 306.
Write down 1 as next digit of the result. 
Result so far: 83948.702531
Deduct 474 from 780 and we're left with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

Let's proceed to step 15:
474 can be fit into 3060 6 times, resulting in a remainder of 216.
Put 6 as the next digit of the answer. 
Result so far: 83948.7025316
If we subtract 2844 from 3060, we get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 16:
The number 474 fits into 2160 4 times, leaving a remainder of 264.
Put 4 as the next digit of the answer. 
Result so far: 83948.70253164
The remainder is 264 after subtracting 1896 from 2160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

The final outcome is 83948.70253164, with a leftover of 2.64e-07.