112987 ÷ 45 
Let's see how many times 45 fits into 112987.

Going ahead to step 1:
45 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 45

Advancing to step 2:
11 divided by 45 is 0 with a remainder of 11.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 11, we end up with 11.
Include the next digit (2) from the dividend after 11, then repeat: 112 / 45

Advancing to step 3:
If we divide 112 by 45, we get 2 and a remainder of 22.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 22 after subtracting 90 from 112.
Grab the next digit (9) from the dividend, add it to 22, then carry on: 229 / 45

On to step 4:
229 divided by 45 is 5 with a remainder of 4.
Write down 5 as next digit of the result. 
Result so far: 25.0
Deduct 225 from 229 and we're left with 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 45

Going ahead to step 5:
The number 45 fits into 48 1 times, leaving a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 251.0
If we subtract 45 from 48, we get 3.
Bring next digit (7) of the dividend behind the 3 and repeat the process: 37 / 45

Let's proceed to step 6:
45 can be fit into 37 0 times, resulting in a remainder of 37.
Write down 0 as next digit of the result. 
Result so far: 2510.0
Deduct 0 from 37 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 7:
The number 45 fits into 370 8 times, leaving a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 2510.8
If we subtract 360 from 370, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
45 goes into 100 2 times with a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 2510.82
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 9:
45 can be fit into 100 2 times, resulting in a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 2510.822
If we subtract 90 from 100, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

In conclusion, the division gives 2510.822 with a balance of 0.001.