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

Moving on to step 1:
4 divided by 45 is 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 45

Let's proceed to step 2:
45 goes into 49 1 times with a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 45 from 49 leaves us with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 45

On to step 3:
The number 45 fits into 47 1 times, leaving a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 11.0
If we take 45 away from 47, we end up with 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 45

Moving on to step 4:
45 goes into 22 0 times with a remainder of 22.
Record the quotient 0 as the next digit in the result. 
Result so far: 110.0
Subtract 0 from 22 to get 22.
Include the next digit (5) from the dividend after 22, then repeat: 225 / 45

Moving on to step 5:
45 goes into 225 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 1105.0
If we subtract 225 from 225, we get 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 45

Moving on to step 6:
When dividing 4 by 45, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 11050.0
If we take 0 away from 4, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 7:
45 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 11050.0
Subtracting 0 from 40 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.

Going ahead to 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: 11050.08
Subtract 360 from 400 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.

Advancing to step 9:
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: 11050.088
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.

The final outcome is 11050.088, with a leftover of 0.004.