We divide 502980 by 87
Our goal is to divide 502980 by 87.

Let's proceed to step 1:
87 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 87

On to step 2:
The number 87 fits into 50 0 times, leaving a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Bring next digit (2) of the dividend behind the 50 and repeat the process: 502 / 87

Advancing to step 3:
If we divide 502 by 87, we get 5 and a remainder of 67.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 435 away from 502, we end up with 67.
Bring next digit (9) of the dividend behind the 67 and repeat the process: 679 / 87

Step 4:
The number 87 fits into 679 7 times, leaving a remainder of 70.
The next digit of our result is 7. 
Result so far: 57.0
Deduct 609 from 679 and we're left with 70.
Bring next digit (8) of the dividend behind the 70 and repeat the process: 708 / 87

Moving on to step 5:
87 can be fit into 708 8 times, resulting in a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 578.0
Deduct 696 from 708 and we're left with 12.
Include the next digit (0) from the dividend after 12, then repeat: 120 / 87

Going ahead to step 6:
120 divided by 87 is 1 with a remainder of 33.
The next digit of our result is 1. 
Result so far: 5781.0
If we subtract 87 from 120, we get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 7:
The number 87 fits into 330 3 times, leaving a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 5781.3
If we take 261 away from 330, we end up with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Advancing to step 8:
87 goes into 690 7 times with a remainder of 81.
Write down 7 as next digit of the result. 
Result so far: 5781.37
The remainder is 81 after subtracting 609 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

Going ahead to step 9:
87 can be fit into 810 9 times, resulting in a remainder of 27.
Record the quotient 9 as the next digit in the result. 
Result so far: 5781.379
The remainder is 27 after subtracting 783 from 810.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 10:
270 divided by 87 is 3 with a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 5781.3793
Deduct 261 from 270 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 11:
87 goes into 90 1 times with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 5781.37931
Deduct 87 from 90 and we're left 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.

Moving on to step 12:
87 goes into 30 0 times with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 5781.37931
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
300 divided by 87 is 3 with a remainder of 39.
Use 3 as the next digit of our solution. 
Result so far: 5781.3793103
Subtracting 261 from 300 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Step 14:
87 can be fit into 390 4 times, resulting in a remainder of 42.
Put 4 as the next digit of the answer. 
Result so far: 5781.37931034
Deduct 348 from 390 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

After the division, we end up with 5781.37931034 and a remainder of 4.2e-08.