We're dividing 87991780 by 336 
Our goal is to divide 87991780 by 336.

Going ahead to step 1:
336 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 336

Let's proceed to step 2:
The number 336 fits into 87 0 times, leaving a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Grab the next digit (9) from the dividend, add it to 87, then carry on: 879 / 336

Advancing to step 3:
336 goes into 879 2 times with a remainder of 207.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 672 from 879, we get 207.
Include the next digit (9) from the dividend after 207, then repeat: 2079 / 336

Advancing to step 4:
When dividing 2079 by 336, we get 6 with a remainder of 63.
Record the quotient 6 as the next digit in the result. 
Result so far: 26.0
The remainder is 63 after subtracting 2016 from 2079.
Fetch the next digit (1) from the dividend, attach it to 63 and continue: 631 / 336

On to step 5:
The number 336 fits into 631 1 times, leaving a remainder of 295.
The next digit of our result is 1. 
Result so far: 261.0
If we subtract 336 from 631, we get 295.
Take the next digit (7) from the dividend and append it to 295, then repeat: 2957 / 336

Step 6:
When dividing 2957 by 336, we get 8 with a remainder of 269.
Write down 8 as next digit of the result. 
Result so far: 2618.0
If we subtract 2688 from 2957, we get 269.
Take the next digit (8) from the dividend and append it to 269, then repeat: 2698 / 336

On to step 7:
2698 divided by 336 is 8 with a remainder of 10.
Put 8 as the next digit of the answer. 
Result so far: 26188.0
The remainder is 10 after subtracting 2688 from 2698.
Fetch the next digit (0) from the dividend, attach it to 10 and continue: 100 / 336

Advancing to step 8:
If we divide 100 by 336, we get 0 and a remainder of 100.
The next digit of our result is 0. 
Result so far: 261880.0
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 9:
1000 divided by 336 is 2 with a remainder of 328.
Put 2 as the next digit of the answer. 
Result so far: 261880.2
If we subtract 672 from 1000, we get 328.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3280, and continue the process.

Step 10:
The number 336 fits into 3280 9 times, leaving a remainder of 256.
Use 9 as the next digit of our solution. 
Result so far: 261880.29
The remainder is 256 after subtracting 3024 from 3280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Step 11:
336 goes into 2560 7 times with a remainder of 208.
Use 7 as the next digit of our solution. 
Result so far: 261880.297
Subtracting 2352 from 2560 leaves us with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Moving on to step 12:
336 goes into 2080 6 times with a remainder of 64.
Put 6 as the next digit of the answer. 
Result so far: 261880.2976
Deduct 2016 from 2080 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Moving on to step 13:
336 can be fit into 640 1 times, resulting in a remainder of 304.
The number 1 becomes the next digit in our result. 
Result so far: 261880.29761
Deduct 336 from 640 and we're left with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Let's proceed to step 14:
The number 336 fits into 3040 9 times, leaving a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 261880.297619
The remainder is 16 after subtracting 3024 from 3040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 15:
The number 336 fits into 160 0 times, leaving a remainder of 160.
Use 0 as the next digit of our solution. 
Result so far: 261880.297619
The remainder is 160 after subtracting 0 from 160.
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 16:
336 can be fit into 1600 4 times, resulting in a remainder of 256.
The number 4 becomes the next digit in our result. 
Result so far: 261880.29761904
Subtracting 1344 from 1600 leaves us with 256.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

The final result is 261880.29761904 with a remainder of 2.56e-07.