We're dividing 987954 by 51 
Let's see how many times 51 fits into 987954.

Going ahead to step 1:
The number 51 fits into 9 0 times, leaving a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 51

Step 2:
51 goes into 98 1 times with a remainder of 47.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 51 from 98 leaves us with 47.
Bring next digit (7) of the dividend behind the 47 and repeat the process: 477 / 51

Let's proceed to step 3:
51 goes into 477 9 times with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 19.0
If we take 459 away from 477, we end up with 18.
Grab the next digit (9) from the dividend, add it to 18, then carry on: 189 / 51

Let's proceed to step 4:
51 goes into 189 3 times with a remainder of 36.
Write down 3 as next digit of the result. 
Result so far: 193.0
The remainder is 36 after subtracting 153 from 189.
Fetch the next digit (5) from the dividend, attach it to 36 and continue: 365 / 51

Moving on to step 5:
51 can be fit into 365 7 times, resulting in a remainder of 8.
Put 7 as the next digit of the answer. 
Result so far: 1937.0
If we subtract 357 from 365, we get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 51

Moving on to step 6:
51 can be fit into 84 1 times, resulting in a remainder of 33.
Use 1 as the next digit of our solution. 
Result so far: 19371.0
Subtracting 51 from 84 leaves us 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.

Going ahead to step 7:
51 can be fit into 330 6 times, resulting in a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 19371.6
If we take 306 away from 330, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
51 goes into 240 4 times with a remainder of 36.
Put 4 as the next digit of the answer. 
Result so far: 19371.64
The remainder is 36 after subtracting 204 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 9:
When dividing 360 by 51, we get 7 with a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 19371.647
If we take 357 away from 360, 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.

Moving on to step 10:
51 goes into 30 0 times with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 19371.647
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.

On to step 11:
If we divide 300 by 51, we get 5 and a remainder of 45.
Use 5 as the next digit of our solution. 
Result so far: 19371.64705
Subtracting 255 from 300 leaves us with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Step 12:
When dividing 450 by 51, we get 8 with a remainder of 42.
The next digit of our result is 8. 
Result so far: 19371.647058
The remainder is 42 after subtracting 408 from 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 13:
When dividing 420 by 51, we get 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 19371.6470588
If we subtract 408 from 420, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

After the division, we end up with 19371.6470588 and a remainder of 1.2e-07.