Let's divide 987412 by 45
Our goal is to divide 987412 by 45.

Moving on to step 1:
45 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 45

Going ahead to step 2:
If we divide 98 by 45, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we subtract 90 from 98, we get 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 45

Moving on to step 3:
87 divided by 45 is 1 with a remainder of 42.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
If we take 45 away from 87, we end up with 42.
Append the next digit (4) from the dividend to 42 and continue with: 424 / 45

Step 4:
The number 45 fits into 424 9 times, leaving a remainder of 19.
The number 9 becomes the next digit in our result. 
Result so far: 219.0
If we subtract 405 from 424, we get 19.
Fetch the next digit (1) from the dividend, attach it to 19 and continue: 191 / 45

Let's proceed to step 5:
45 can be fit into 191 4 times, resulting in a remainder of 11.
Record the quotient 4 as the next digit in the result. 
Result so far: 2194.0
Subtract 180 from 191 to get 11.
Append the next digit (2) from the dividend to 11 and continue with: 112 / 45

On to step 6:
45 goes into 112 2 times with a remainder of 22.
Record the quotient 2 as the next digit in the result. 
Result so far: 21942.0
The remainder is 22 after subtracting 90 from 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 7:
When dividing 220 by 45, we get 4 with a remainder of 40.
Use 4 as the next digit of our solution. 
Result so far: 21942.4
Subtracting 180 from 220 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 8:
45 can be fit into 400 8 times, resulting in a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 21942.48
If we take 360 away from 400, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 9:
If we divide 400 by 45, we get 8 and a remainder of 40.
Record the quotient 8 as the next digit in the result. 
Result so far: 21942.488
If we take 360 away from 400, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

In conclusion, the division gives 21942.488 with a balance of 0.004.