Let's divide 509459 by 87
We want to divide 509459 by 87.

Going ahead to step 1:
When dividing 5 by 87, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 87

Moving on to step 2:
If we divide 50 by 87, we get 0 and a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Append the next digit (9) from the dividend to 50 and continue with: 509 / 87

Moving on to step 3:
87 can be fit into 509 5 times, resulting in a remainder of 74.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
The remainder is 74 after subtracting 435 from 509.
Bring next digit (4) of the dividend behind the 74 and repeat the process: 744 / 87

Moving on to step 4:
If we divide 744 by 87, we get 8 and a remainder of 48.
Write down 8 as next digit of the result. 
Result so far: 58.0
If we subtract 696 from 744, we get 48.
Take the next digit (5) from the dividend and append it to 48, then repeat: 485 / 87

Step 5:
485 divided by 87 is 5 with a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 585.0
Subtracting 435 from 485 leaves us with 50.
Include the next digit (9) from the dividend after 50, then repeat: 509 / 87

Advancing to step 6:
87 can be fit into 509 5 times, resulting in a remainder of 74.
Put 5 as the next digit of the answer. 
Result so far: 5855.0
The remainder is 74 after subtracting 435 from 509.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Moving on to step 7:
When dividing 740 by 87, we get 8 with a remainder of 44.
Write down 8 as next digit of the result. 
Result so far: 5855.8
If we take 696 away from 740, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 8:
440 divided by 87 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 5855.85
If we take 435 away from 440, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 9:
If we divide 50 by 87, we get 0 and a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 5855.85
If we take 0 away from 50, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 10:
The number 87 fits into 500 5 times, leaving a remainder of 65.
Put 5 as the next digit of the answer. 
Result so far: 5855.8505
Subtracting 435 from 500 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Advancing to step 11:
87 goes into 650 7 times with a remainder of 41.
Write down 7 as next digit of the result. 
Result so far: 5855.85057
If we take 609 away from 650, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 12:
87 goes into 410 4 times with a remainder of 62.
Write down 4 as next digit of the result. 
Result so far: 5855.850574
Deduct 348 from 410 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 13:
87 can be fit into 620 7 times, resulting in a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 5855.8505747
If we take 609 away from 620, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 14:
110 divided by 87 is 1 with a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 5855.85057471
Subtract 87 from 110 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final result is 5855.85057471 with a remainder of 2.3e-08.