We divide 987857 by 45
We want to divide 987857 by 45.

Going ahead to step 1:
When dividing 9 by 45, we get 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 45

Let's proceed to step 2:
98 divided by 45 is 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 90 from 98 to get 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 45

Moving on to step 3:
When dividing 87 by 45, we get 1 with a remainder of 42.
Use 1 as the next digit of our solution. 
Result so far: 21.0
The remainder is 42 after subtracting 45 from 87.
Take the next digit (8) from the dividend and append it to 42, then repeat: 428 / 45

Step 4:
The number 45 fits into 428 9 times, leaving a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 219.0
If we subtract 405 from 428, we get 23.
Take the next digit (5) from the dividend and append it to 23, then repeat: 235 / 45

Advancing to step 5:
When dividing 235 by 45, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 2195.0
The remainder is 10 after subtracting 225 from 235.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 45

Step 6:
45 goes into 107 2 times with a remainder of 17.
The next digit of our result is 2. 
Result so far: 21952.0
Subtracting 90 from 107 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 7:
When dividing 170 by 45, we get 3 with a remainder of 35.
Record the quotient 3 as the next digit in the result. 
Result so far: 21952.3
If we take 135 away from 170, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 8:
If we divide 350 by 45, we get 7 and a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 21952.37
Subtracting 315 from 350 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 9:
45 can be fit into 350 7 times, resulting in a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 21952.377
Subtracting 315 from 350 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final outcome is 21952.377, with a leftover of 0.0035.