335982 divided by 866 
Our goal is to divide 335982 by 866.

Let's proceed to step 1:
If we divide 3 by 866, we get 0 and 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 (3) from the dividend to 3 and continue with: 33 / 866

Moving on to step 2:
When dividing 33 by 866, we get 0 with a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 33, we get 33.
Append the next digit (5) from the dividend to 33 and continue with: 335 / 866

Step 3:
If we divide 335 by 866, we get 0 and a remainder of 335.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 335, we get 335.
Grab the next digit (9) from the dividend, add it to 335, then carry on: 3359 / 866

Let's proceed to step 4:
If we divide 3359 by 866, we get 3 and a remainder of 761.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 2598 away from 3359, we end up with 761.
Include the next digit (8) from the dividend after 761, then repeat: 7618 / 866

Let's proceed to step 5:
The number 866 fits into 7618 8 times, leaving a remainder of 690.
The number 8 becomes the next digit in our result. 
Result so far: 38.0
Subtract 6928 from 7618 to get 690.
Take the next digit (2) from the dividend and append it to 690, then repeat: 6902 / 866

Let's proceed to step 6:
6902 divided by 866 is 7 with a remainder of 840.
The next digit of our result is 7. 
Result so far: 387.0
If we take 6062 away from 6902, we end up with 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8400, and continue the process.

Advancing to step 7:
866 goes into 8400 9 times with a remainder of 606.
Record the quotient 9 as the next digit in the result. 
Result so far: 387.9
Subtract 7794 from 8400 to get 606.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6060, and continue the process.

On to step 8:
The number 866 fits into 6060 6 times, leaving a remainder of 864.
The next digit of our result is 6. 
Result so far: 387.96
Subtract 5196 from 6060 to get 864.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8640, and continue the process.

Let's proceed to step 9:
The number 866 fits into 8640 9 times, leaving a remainder of 846.
Record the quotient 9 as the next digit in the result. 
Result so far: 387.969
The remainder is 846 after subtracting 7794 from 8640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8460, and continue the process.

Advancing to step 10:
The number 866 fits into 8460 9 times, leaving a remainder of 666.
The next digit of our result is 9. 
Result so far: 387.9699
If we take 7794 away from 8460, we end up with 666.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6660, and continue the process.

In conclusion, the division gives 387.9699 with a balance of 0.00666.