987135 divided by 45 
Our goal is to divide 987135 by 45.

Moving on to step 1:
9 divided by 45 is 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 45

On to step 2:
When dividing 98 by 45, we get 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 2.0
Deduct 90 from 98 and we're left with 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 45

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
If we take 45 away from 87, we end up with 42.
Append the next digit (1) from the dividend to 42 and continue with: 421 / 45

Let's proceed to step 4:
If we divide 421 by 45, we get 9 and a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 219.0
If we subtract 405 from 421, we get 16.
Grab the next digit (3) from the dividend, add it to 16, then carry on: 163 / 45

On to step 5:
45 goes into 163 3 times with a remainder of 28.
Record the quotient 3 as the next digit in the result. 
Result so far: 2193.0
Subtracting 135 from 163 leaves us with 28.
Append the next digit (5) from the dividend to 28 and continue with: 285 / 45

Step 6:
285 divided by 45 is 6 with a remainder of 15.
Put 6 as the next digit of the answer. 
Result so far: 21936.0
Subtract 270 from 285 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 7:
150 divided by 45 is 3 with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 21936.3
Deduct 135 from 150 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 8:
45 goes into 150 3 times with a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 21936.33
If we take 135 away from 150, we end up with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

After the division, we end up with 21936.33 and a remainder of 0.015.