Let's divide 313389 by 87
We're looking to find how many times 87 goes into 313389.

Let's proceed to step 1:
3 divided by 87 is 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 87

Moving on to step 2:
31 divided by 87 is 0 with a remainder of 31.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (3) from the dividend, attach it to 31 and continue: 313 / 87

Let's proceed to step 3:
87 can be fit into 313 3 times, resulting in a remainder of 52.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 261 from 313, we get 52.
Grab the next digit (3) from the dividend, add it to 52, then carry on: 523 / 87

Moving on to step 4:
87 can be fit into 523 6 times, resulting in a remainder of 1.
The next digit of our result is 6. 
Result so far: 36.0
The remainder is 1 after subtracting 522 from 523.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 87

On to step 5:
When dividing 18 by 87, we get 0 with a remainder of 18.
Use 0 as the next digit of our solution. 
Result so far: 360.0
Deduct 0 from 18 and we're left with 18.
Grab the next digit (9) from the dividend, add it to 18, then carry on: 189 / 87

Step 6:
87 goes into 189 2 times with a remainder of 15.
The next digit of our result is 2. 
Result so far: 3602.0
The remainder is 15 after subtracting 174 from 189.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 7:
87 can be fit into 150 1 times, resulting in a remainder of 63.
The number 1 becomes the next digit in our result. 
Result so far: 3602.1
Deduct 87 from 150 and we're left with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Step 8:
The number 87 fits into 630 7 times, leaving a remainder of 21.
The number 7 becomes the next digit in our result. 
Result so far: 3602.17
If we subtract 609 from 630, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 9:
210 divided by 87 is 2 with a remainder of 36.
The number 2 becomes the next digit in our result. 
Result so far: 3602.172
Subtract 174 from 210 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 10:
87 can be fit into 360 4 times, resulting in a remainder of 12.
Record the quotient 4 as the next digit in the result. 
Result so far: 3602.1724
Deduct 348 from 360 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 11:
When dividing 120 by 87, we get 1 with a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 3602.17241
Deduct 87 from 120 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Advancing to step 12:
87 can be fit into 330 3 times, resulting in a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 3602.172413
If we subtract 261 from 330, we get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 13:
If we divide 690 by 87, we get 7 and a remainder of 81.
Put 7 as the next digit of the answer. 
Result so far: 3602.1724137
Subtract 609 from 690 to get 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

On to step 14:
87 goes into 810 9 times with a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 3602.17241379
If we take 783 away from 810, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Our division results in 3602.17241379 with a remaining 2.7e-08.