We divide 24797 by 3
We're looking to find how many times 3 goes into 24797.

Advancing to step 1:
When dividing 2 by 3, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Grab the next digit (4) from the dividend, add it to 2, then carry on: 24 / 3

Step 2:
When dividing 24 by 3, we get 8 with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we take 24 away from 24, we end up with 0.
Bring next digit (7) of the dividend behind the 0 and repeat the process: 7 / 3

Moving on to step 3:
3 can be fit into 7 2 times, resulting in a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 82.0
If we subtract 6 from 7, we get 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 3

Going ahead to step 4:
3 goes into 19 6 times with a remainder of 1.
The next digit of our result is 6. 
Result so far: 826.0
If we take 18 away from 19, we end up with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 3

Going ahead to step 5:
3 goes into 17 5 times with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 8265.0
If we take 15 away from 17, we end up with 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 6:
20 divided by 3 is 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 8265.6
If we subtract 18 from 20, 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.

Moving on to step 7:
If we divide 20 by 3, we get 6 and a remainder of 2.
The next digit of our result is 6. 
Result so far: 8265.66
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

In conclusion, the division gives 8265.66 with a balance of 0.002.