336864 ÷ 87 
Let's see how many times 87 fits into 336864.

Moving on to step 1:
The number 87 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 87

Going ahead to step 2:
If we divide 33 by 87, we get 0 and a remainder of 33.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 33 after subtracting 0 from 33.
Fetch the next digit (6) from the dividend, attach it to 33 and continue: 336 / 87

Going ahead to step 3:
When dividing 336 by 87, we get 3 with a remainder of 75.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 261 from 336 to get 75.
Include the next digit (8) from the dividend after 75, then repeat: 758 / 87

Step 4:
If we divide 758 by 87, we get 8 and a remainder of 62.
The next digit of our result is 8. 
Result so far: 38.0
Subtracting 696 from 758 leaves us with 62.
Fetch the next digit (6) from the dividend, attach it to 62 and continue: 626 / 87

Moving on to step 5:
If we divide 626 by 87, we get 7 and a remainder of 17.
Record the quotient 7 as the next digit in the result. 
Result so far: 387.0
Deduct 609 from 626 and we're left with 17.
Fetch the next digit (4) from the dividend, attach it to 17 and continue: 174 / 87

Advancing to step 6:
The number 87 fits into 174 2 times, leaving a remainder of 0.
The next digit of our result is 2. 
Result so far: 3872.0
Subtracting 174 from 174 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 7:
The number 87 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 3872.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
When dividing 0 by 87, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 3872.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 3872.0, with a leftover of 0.0.