Let's divide 335308 by 87
Our goal is to divide 335308 by 87.

Moving on to step 1:
The number 87 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 87

Going ahead to step 2:
33 divided by 87 is 0 with a remainder of 33.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 33 to get 33.
Take the next digit (5) from the dividend and append it to 33, then repeat: 335 / 87

Let's proceed to step 3:
When dividing 335 by 87, we get 3 with a remainder of 74.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 261 away from 335, we end up with 74.
Append the next digit (3) from the dividend to 74 and continue with: 743 / 87

Let's proceed to step 4:
If we divide 743 by 87, we get 8 and a remainder of 47.
Record the quotient 8 as the next digit in the result. 
Result so far: 38.0
Subtract 696 from 743 to get 47.
Bring next digit (0) of the dividend behind the 47 and repeat the process: 470 / 87

Let's proceed to step 5:
87 can be fit into 470 5 times, resulting in a remainder of 35.
Record the quotient 5 as the next digit in the result. 
Result so far: 385.0
Deduct 435 from 470 and we're left with 35.
Append the next digit (8) from the dividend to 35 and continue with: 358 / 87

Step 6:
87 goes into 358 4 times with a remainder of 10.
The next digit of our result is 4. 
Result so far: 3854.0
Subtract 348 from 358 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 7:
When dividing 100 by 87, we get 1 with a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 3854.1
Deduct 87 from 100 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 8:
87 can be fit into 130 1 times, resulting in a remainder of 43.
Record the quotient 1 as the next digit in the result. 
Result so far: 3854.11
If we subtract 87 from 130, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

After the division, we end up with 3854.11 and a remainder of 0.043.