We're dividing 3864116 by 387 
We want to divide 3864116 by 387.

Advancing to step 1:
When dividing 3 by 387, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 387

On to step 2:
The number 387 fits into 38 0 times, leaving a remainder of 38.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 38 after subtracting 0 from 38.
Bring next digit (6) of the dividend behind the 38 and repeat the process: 386 / 387

Step 3:
386 divided by 387 is 0 with a remainder of 386.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 386, we end up with 386.
Include the next digit (4) from the dividend after 386, then repeat: 3864 / 387

Going ahead to step 4:
The number 387 fits into 3864 9 times, leaving a remainder of 381.
Write down 9 as next digit of the result. 
Result so far: 9.0
The remainder is 381 after subtracting 3483 from 3864.
Take the next digit (1) from the dividend and append it to 381, then repeat: 3811 / 387

On to step 5:
3811 divided by 387 is 9 with a remainder of 328.
Put 9 as the next digit of the answer. 
Result so far: 99.0
If we take 3483 away from 3811, we end up with 328.
Append the next digit (1) from the dividend to 328 and continue with: 3281 / 387

Advancing to step 6:
3281 divided by 387 is 8 with a remainder of 185.
Put 8 as the next digit of the answer. 
Result so far: 998.0
Subtracting 3096 from 3281 leaves us with 185.
Grab the next digit (6) from the dividend, add it to 185, then carry on: 1856 / 387

Moving on to step 7:
The number 387 fits into 1856 4 times, leaving a remainder of 308.
Record the quotient 4 as the next digit in the result. 
Result so far: 9984.0
Subtract 1548 from 1856 to get 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

On to step 8:
387 can be fit into 3080 7 times, resulting in a remainder of 371.
Write down 7 as next digit of the result. 
Result so far: 9984.7
Deduct 2709 from 3080 and we're left with 371.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3710, and continue the process.

Let's proceed to step 9:
387 can be fit into 3710 9 times, resulting in a remainder of 227.
Write down 9 as next digit of the result. 
Result so far: 9984.79
The remainder is 227 after subtracting 3483 from 3710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

On to step 10:
387 can be fit into 2270 5 times, resulting in a remainder of 335.
The next digit of our result is 5. 
Result so far: 9984.795
The remainder is 335 after subtracting 1935 from 2270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3350, and continue the process.

Step 11:
387 can be fit into 3350 8 times, resulting in a remainder of 254.
Use 8 as the next digit of our solution. 
Result so far: 9984.7958
The remainder is 254 after subtracting 3096 from 3350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

Moving on to step 12:
If we divide 2540 by 387, we get 6 and a remainder of 218.
Record the quotient 6 as the next digit in the result. 
Result so far: 9984.79586
Subtract 2322 from 2540 to get 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

On to step 13:
The number 387 fits into 2180 5 times, leaving a remainder of 245.
Write down 5 as next digit of the result. 
Result so far: 9984.795865
Subtracting 1935 from 2180 leaves us with 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2450, and continue the process.

Step 14:
2450 divided by 387 is 6 with a remainder of 128.
Record the quotient 6 as the next digit in the result. 
Result so far: 9984.7958656
If we subtract 2322 from 2450, we get 128.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1280, and continue the process.

On to step 15:
The number 387 fits into 1280 3 times, leaving a remainder of 119.
Record the quotient 3 as the next digit in the result. 
Result so far: 9984.79586563
Subtract 1161 from 1280 to get 119.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1190, and continue the process.

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