Let's divide 39971335 by 390
We want to divide 39971335 by 390.

On to step 1:
If we divide 3 by 390, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 390

Moving on to step 2:
If we divide 39 by 390, we get 0 and a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Append the next digit (9) from the dividend to 39 and continue with: 399 / 390

Advancing to step 3:
If we divide 399 by 390, we get 1 and a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 390 from 399 and we're left with 9.
Bring next digit (7) of the dividend behind the 9 and repeat the process: 97 / 390

Let's proceed to step 4:
390 can be fit into 97 0 times, resulting in a remainder of 97.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtract 0 from 97 to get 97.
Grab the next digit (1) from the dividend, add it to 97, then carry on: 971 / 390

Advancing to step 5:
390 can be fit into 971 2 times, resulting in a remainder of 191.
Put 2 as the next digit of the answer. 
Result so far: 102.0
If we take 780 away from 971, we end up with 191.
Take the next digit (3) from the dividend and append it to 191, then repeat: 1913 / 390

Going ahead to step 6:
390 goes into 1913 4 times with a remainder of 353.
Record the quotient 4 as the next digit in the result. 
Result so far: 1024.0
The remainder is 353 after subtracting 1560 from 1913.
Include the next digit (3) from the dividend after 353, then repeat: 3533 / 390

Going ahead to step 7:
If we divide 3533 by 390, we get 9 and a remainder of 23.
Use 9 as the next digit of our solution. 
Result so far: 10249.0
Subtract 3510 from 3533 to get 23.
Take the next digit (5) from the dividend and append it to 23, then repeat: 235 / 390

Advancing to step 8:
235 divided by 390 is 0 with a remainder of 235.
The number 0 becomes the next digit in our result. 
Result so far: 102490.0
Subtracting 0 from 235 leaves us with 235.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Moving on to step 9:
The number 390 fits into 2350 6 times, leaving a remainder of 10.
The next digit of our result is 6. 
Result so far: 102490.6
Subtract 2340 from 2350 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 10:
If we divide 100 by 390, we get 0 and a remainder of 100.
Write down 0 as next digit of the result. 
Result so far: 102490.6
If we subtract 0 from 100, we 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.

Let's proceed to step 11:
The number 390 fits into 1000 2 times, leaving a remainder of 220.
Write down 2 as next digit of the result. 
Result so far: 102490.602
Subtracting 780 from 1000 leaves us with 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2200, and continue the process.

Moving on to step 12:
If we divide 2200 by 390, we get 5 and a remainder of 250.
The number 5 becomes the next digit in our result. 
Result so far: 102490.6025
Subtracting 1950 from 2200 leaves us with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Step 13:
390 goes into 2500 6 times with a remainder of 160.
The next digit of our result is 6. 
Result so far: 102490.60256
The remainder is 160 after subtracting 2340 from 2500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Advancing to step 14:
When dividing 1600 by 390, we get 4 with a remainder of 40.
Record the quotient 4 as the next digit in the result. 
Result so far: 102490.602564
Subtract 1560 from 1600 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 15:
The number 390 fits into 400 1 times, leaving a remainder of 10.
Record the quotient 1 as the next digit in the result. 
Result so far: 102490.6025641
Subtracting 390 from 400 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 16:
The number 390 fits into 100 0 times, leaving a remainder of 100.
The number 0 becomes the next digit in our result. 
Result so far: 102490.6025641
Subtracting 0 from 100 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

After the division, we end up with 102490.6025641 and a remainder of 1e-07.