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

Let's proceed to step 1:
3 divided by 87 is 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 87

Moving on to step 2:
87 can be fit into 31 0 times, resulting in a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Bring next digit (7) of the dividend behind the 31 and repeat the process: 317 / 87

Going ahead to step 3:
317 divided by 87 is 3 with a remainder of 56.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 261 from 317 leaves us with 56.
Append the next digit (4) from the dividend to 56 and continue with: 564 / 87

Advancing to step 4:
87 can be fit into 564 6 times, resulting in a remainder of 42.
The number 6 becomes the next digit in our result. 
Result so far: 36.0
The remainder is 42 after subtracting 522 from 564.
Append the next digit (9) from the dividend to 42 and continue with: 429 / 87

Let's proceed to step 5:
87 goes into 429 4 times with a remainder of 81.
Record the quotient 4 as the next digit in the result. 
Result so far: 364.0
Subtract 348 from 429 to get 81.
Include the next digit (0) from the dividend after 81, then repeat: 810 / 87

On to step 6:
87 can be fit into 810 9 times, resulting in a remainder of 27.
Use 9 as the next digit of our solution. 
Result so far: 3649.0
Subtract 783 from 810 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 7:
87 can be fit into 270 3 times, resulting in a remainder of 9.
The next digit of our result is 3. 
Result so far: 3649.3
The remainder is 9 after subtracting 261 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

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

On to step 9:
30 divided by 87 is 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 3649.31
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 10:
The number 87 fits into 300 3 times, leaving a remainder of 39.
The next digit of our result is 3. 
Result so far: 3649.3103
If we subtract 261 from 300, we get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Moving on to step 11:
390 divided by 87 is 4 with a remainder of 42.
Record the quotient 4 as the next digit in the result. 
Result so far: 3649.31034
Subtract 348 from 390 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 12:
420 divided by 87 is 4 with a remainder of 72.
Record the quotient 4 as the next digit in the result. 
Result so far: 3649.310344
If we take 348 away from 420, we end up with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

The quotient of the division is 3649.310344, and the remainder is 7.2e-06.