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

Advancing to step 1:
7 divided by 45 is 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 45

Let's proceed to step 2:
When dividing 79 by 45, we get 1 with a remainder of 34.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 45 from 79 to get 34.
Include the next digit (8) from the dividend after 34, then repeat: 348 / 45

Step 3:
The number 45 fits into 348 7 times, leaving a remainder of 33.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we take 315 away from 348, we end up with 33.
Grab the next digit (8) from the dividend, add it to 33, then carry on: 338 / 45

On to step 4:
If we divide 338 by 45, we get 7 and a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 177.0
If we take 315 away from 338, we end up with 23.
Grab the next digit (4) from the dividend, add it to 23, then carry on: 234 / 45

Step 5:
234 divided by 45 is 5 with a remainder of 9.
Put 5 as the next digit of the answer. 
Result so far: 1775.0
Subtracting 225 from 234 leaves us with 9.
Append the next digit (3) from the dividend to 9 and continue with: 93 / 45

Advancing to step 6:
When dividing 93 by 45, we get 2 with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 17752.0
If we take 90 away from 93, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 7:
45 goes into 30 0 times with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 17752.0
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
300 divided by 45 is 6 with a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 17752.06
Subtracting 270 from 300 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 9:
The number 45 fits into 300 6 times, leaving a remainder of 30.
Write down 6 as next digit of the result. 
Result so far: 17752.066
The remainder is 30 after subtracting 270 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

After the division, we end up with 17752.066 and a remainder of 0.003.