We're dividing 317524 by 87 
Let's see how many times 87 fits into 317524.

Step 1:
If we divide 3 by 87, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 87

Let's proceed to step 2:
The number 87 fits into 31 0 times, leaving a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 87

Step 3:
If we divide 317 by 87, we get 3 and a remainder of 56.
The next digit of our result is 3. 
Result so far: 3.0
If we take 261 away from 317, we end up with 56.
Fetch the next digit (5) from the dividend, attach it to 56 and continue: 565 / 87

Going ahead to step 4:
565 divided by 87 is 6 with a remainder of 43.
Record the quotient 6 as the next digit in the result. 
Result so far: 36.0
Deduct 522 from 565 and we're left with 43.
Include the next digit (2) from the dividend after 43, then repeat: 432 / 87

Going ahead to step 5:
87 goes into 432 4 times with a remainder of 84.
Use 4 as the next digit of our solution. 
Result so far: 364.0
If we take 348 away from 432, we end up with 84.
Include the next digit (4) from the dividend after 84, then repeat: 844 / 87

Moving on to step 6:
The number 87 fits into 844 9 times, leaving a remainder of 61.
The number 9 becomes the next digit in our result. 
Result so far: 3649.0
Subtracting 783 from 844 leaves us with 61.
Since there are no more digits in the dividend, we add a zero to the remainder making it 610, and continue the process.

Step 7:
87 goes into 610 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 3649.7
If we take 609 away from 610, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 8:
10 divided by 87 is 0 with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 3649.7
Subtract 0 from 10 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.

Moving on to step 9:
87 can be fit into 100 1 times, resulting in a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 3649.701
If we take 87 away from 100, we end up 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.

On to step 10:
87 can be fit into 130 1 times, resulting in a remainder of 43.
Put 1 as the next digit of the answer. 
Result so far: 3649.7011
Deduct 87 from 130 and we're left with 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 3649.7011 and a remainder of 0.00043.