998057 divided by 45 
Let's see how many times 45 fits into 998057.

On to step 1:
The number 45 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 45

Moving on to step 2:
When dividing 99 by 45, we get 2 with a remainder of 9.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 90 from 99 leaves us with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 45

Step 3:
98 divided by 45 is 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Subtract 90 from 98 to get 8.
Grab the next digit (0) from the dividend, add it to 8, then carry on: 80 / 45

Step 4:
If we divide 80 by 45, we get 1 and a remainder of 35.
Put 1 as the next digit of the answer. 
Result so far: 221.0
If we subtract 45 from 80, we get 35.
Append the next digit (5) from the dividend to 35 and continue with: 355 / 45

Moving on to step 5:
The number 45 fits into 355 7 times, leaving a remainder of 40.
Record the quotient 7 as the next digit in the result. 
Result so far: 2217.0
Subtract 315 from 355 to get 40.
Append the next digit (7) from the dividend to 40 and continue with: 407 / 45

Let's proceed to step 6:
45 can be fit into 407 9 times, resulting in a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 22179.0
If we subtract 405 from 407, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
If we divide 20 by 45, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 22179.0
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
When dividing 200 by 45, we get 4 with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 22179.04
If we subtract 180 from 200, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 9:
45 goes into 200 4 times with a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 22179.044
Subtracting 180 from 200 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 22179.044 with a remainder of 0.002.