We look at the division of 798171 by 24 
Let's see how many times 24 fits into 798171.

Moving on to step 1:
24 can be fit into 7 0 times, resulting in a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Bring next digit (9) of the dividend behind the 7 and repeat the process: 79 / 24

On to step 2:
24 can be fit into 79 3 times, resulting in a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 72 from 79, we get 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 24

Step 3:
If we divide 78 by 24, we get 3 and a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 33.0
Subtracting 72 from 78 leaves us with 6.
Grab the next digit (1) from the dividend, add it to 6, then carry on: 61 / 24

On to step 4:
When dividing 61 by 24, we get 2 with a remainder of 13.
The next digit of our result is 2. 
Result so far: 332.0
The remainder is 13 after subtracting 48 from 61.
Take the next digit (7) from the dividend and append it to 13, then repeat: 137 / 24

Let's proceed to step 5:
24 can be fit into 137 5 times, resulting in a remainder of 17.
The next digit of our result is 5. 
Result so far: 3325.0
If we subtract 120 from 137, we get 17.
Append the next digit (1) from the dividend to 17 and continue with: 171 / 24

On to step 6:
If we divide 171 by 24, we get 7 and a remainder of 3.
Record the quotient 7 as the next digit in the result. 
Result so far: 33257.0
Deduct 168 from 171 and we're left 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.

Moving on to step 7:
24 can be fit into 30 1 times, resulting in a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 33257.1
Subtracting 24 from 30 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
The number 24 fits into 60 2 times, leaving a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 33257.12
If we subtract 48 from 60, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 9:
The number 24 fits into 120 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 33257.125
If we subtract 120 from 120, 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.

Step 10:
24 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 33257.125
If we subtract 0 from 0, 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.

Step 11:
0 divided by 24 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 33257.125
If we subtract 0 from 0, 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.

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