We look at the division of 998671 by 45 
We're looking to find how many times 45 goes into 998671.

Let's proceed 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.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 45

Advancing to step 2:
45 goes into 99 2 times with a remainder of 9.
Write down 2 as next digit of the result. 
Result so far: 2.0
Subtract 90 from 99 to get 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 45

Going ahead to step 3:
45 can be fit into 98 2 times, resulting in a remainder of 8.
The next digit of our result is 2. 
Result so far: 22.0
Deduct 90 from 98 and we're left with 8.
Bring next digit (6) of the dividend behind the 8 and repeat the process: 86 / 45

Step 4:
45 goes into 86 1 times with a remainder of 41.
Write down 1 as next digit of the result. 
Result so far: 221.0
The remainder is 41 after subtracting 45 from 86.
Grab the next digit (7) from the dividend, add it to 41, then carry on: 417 / 45

Advancing to step 5:
The number 45 fits into 417 9 times, leaving a remainder of 12.
Write down 9 as next digit of the result. 
Result so far: 2219.0
Subtracting 405 from 417 leaves us with 12.
Include the next digit (1) from the dividend after 12, then repeat: 121 / 45

Let's proceed to step 6:
If we divide 121 by 45, we get 2 and a remainder of 31.
Put 2 as the next digit of the answer. 
Result so far: 22192.0
If we take 90 away from 121, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 7:
When dividing 310 by 45, we get 6 with a remainder of 40.
Use 6 as the next digit of our solution. 
Result so far: 22192.6
Subtract 270 from 310 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 8:
The number 45 fits into 400 8 times, leaving a remainder of 40.
Put 8 as the next digit of the answer. 
Result so far: 22192.68
Subtracting 360 from 400 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 9:
If we divide 400 by 45, we get 8 and a remainder of 40.
Use 8 as the next digit of our solution. 
Result so far: 22192.688
Subtracting 360 from 400 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.

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