We divide 797544 by 45
We're looking to find how many times 45 goes into 797544.

Step 1:
If we divide 7 by 45, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 45

Let's proceed to step 2:
45 goes into 79 1 times with a remainder of 34.
Write down 1 as next digit of the result. 
Result so far: 1.0
Deduct 45 from 79 and we're left with 34.
Bring next digit (7) of the dividend behind the 34 and repeat the process: 347 / 45

On to step 3:
45 goes into 347 7 times with a remainder of 32.
Use 7 as the next digit of our solution. 
Result so far: 17.0
The remainder is 32 after subtracting 315 from 347.
Grab the next digit (5) from the dividend, add it to 32, then carry on: 325 / 45

Moving on to step 4:
45 can be fit into 325 7 times, resulting in a remainder of 10.
Use 7 as the next digit of our solution. 
Result so far: 177.0
If we subtract 315 from 325, we get 10.
Grab the next digit (4) from the dividend, add it to 10, then carry on: 104 / 45

Advancing to step 5:
If we divide 104 by 45, we get 2 and a remainder of 14.
The next digit of our result is 2. 
Result so far: 1772.0
If we subtract 90 from 104, we get 14.
Append the next digit (4) from the dividend to 14 and continue with: 144 / 45

Moving on to step 6:
144 divided by 45 is 3 with a remainder of 9.
Put 3 as the next digit of the answer. 
Result so far: 17723.0
The remainder is 9 after subtracting 135 from 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 7:
45 can be fit into 90 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 17723.2
If we subtract 90 from 90, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 8:
If we divide 0 by 45, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 17723.2
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 9:
45 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 17723.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 17723.2 and a remainder of 0.0.