39671998 ÷ 865 
Our goal is to divide 39671998 by 865.

Going ahead to step 1:
865 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 865

Advancing to step 2:
865 goes into 39 0 times with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Bring next digit (6) of the dividend behind the 39 and repeat the process: 396 / 865

Moving on to step 3:
If we divide 396 by 865, we get 0 and a remainder of 396.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 396 and we're left with 396.
Bring next digit (7) of the dividend behind the 396 and repeat the process: 3967 / 865

Step 4:
865 can be fit into 3967 4 times, resulting in a remainder of 507.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we take 3460 away from 3967, we end up with 507.
Take the next digit (1) from the dividend and append it to 507, then repeat: 5071 / 865

Going ahead to step 5:
865 can be fit into 5071 5 times, resulting in a remainder of 746.
Use 5 as the next digit of our solution. 
Result so far: 45.0
Deduct 4325 from 5071 and we're left with 746.
Grab the next digit (9) from the dividend, add it to 746, then carry on: 7469 / 865

Moving on to step 6:
When dividing 7469 by 865, we get 8 with a remainder of 549.
The next digit of our result is 8. 
Result so far: 458.0
The remainder is 549 after subtracting 6920 from 7469.
Fetch the next digit (9) from the dividend, attach it to 549 and continue: 5499 / 865

Moving on to step 7:
When dividing 5499 by 865, we get 6 with a remainder of 309.
Put 6 as the next digit of the answer. 
Result so far: 4586.0
Subtracting 5190 from 5499 leaves us with 309.
Append the next digit (8) from the dividend to 309 and continue with: 3098 / 865

Going ahead to step 8:
If we divide 3098 by 865, we get 3 and a remainder of 503.
Record the quotient 3 as the next digit in the result. 
Result so far: 45863.0
Deduct 2595 from 3098 and we're left with 503.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5030, and continue the process.

On to step 9:
The number 865 fits into 5030 5 times, leaving a remainder of 705.
Put 5 as the next digit of the answer. 
Result so far: 45863.5
If we take 4325 away from 5030, we end up with 705.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7050, and continue the process.

Moving on to step 10:
The number 865 fits into 7050 8 times, leaving a remainder of 130.
Record the quotient 8 as the next digit in the result. 
Result so far: 45863.58
Subtract 6920 from 7050 to get 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Advancing to step 11:
The number 865 fits into 1300 1 times, leaving a remainder of 435.
Put 1 as the next digit of the answer. 
Result so far: 45863.581
If we subtract 865 from 1300, we get 435.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4350, and continue the process.

Step 12:
865 can be fit into 4350 5 times, resulting in a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 45863.5815
Deduct 4325 from 4350 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 13:
250 divided by 865 is 0 with a remainder of 250.
Put 0 as the next digit of the answer. 
Result so far: 45863.5815
Subtract 0 from 250 to get 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Let's proceed to step 14:
If we divide 2500 by 865, we get 2 and a remainder of 770.
The number 2 becomes the next digit in our result. 
Result so far: 45863.581502
The remainder is 770 after subtracting 1730 from 2500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7700, and continue the process.

Moving on to step 15:
The number 865 fits into 7700 8 times, leaving a remainder of 780.
Put 8 as the next digit of the answer. 
Result so far: 45863.5815028
If we take 6920 away from 7700, we end up with 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Moving on to step 16:
7800 divided by 865 is 9 with a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 45863.58150289
The remainder is 15 after subtracting 7785 from 7800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

The quotient of the division is 45863.58150289, and the remainder is 1.5e-08.