We're dividing 24798418 by 397 
We want to figure out the number of times 24798418 can be divided by 397.

Going ahead to step 1:
397 goes into 2 0 times with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 397

Step 2:
When dividing 24 by 397, we get 0 with a remainder of 24.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 24, we get 24.
Fetch the next digit (7) from the dividend, attach it to 24 and continue: 247 / 397

Let's proceed to step 3:
The number 397 fits into 247 0 times, leaving a remainder of 247.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 247, we end up with 247.
Append the next digit (9) from the dividend to 247 and continue with: 2479 / 397

Step 4:
When dividing 2479 by 397, we get 6 with a remainder of 97.
The next digit of our result is 6. 
Result so far: 6.0
The remainder is 97 after subtracting 2382 from 2479.
Bring next digit (8) of the dividend behind the 97 and repeat the process: 978 / 397

Step 5:
When dividing 978 by 397, we get 2 with a remainder of 184.
Put 2 as the next digit of the answer. 
Result so far: 62.0
If we subtract 794 from 978, we get 184.
Grab the next digit (4) from the dividend, add it to 184, then carry on: 1844 / 397

Step 6:
The number 397 fits into 1844 4 times, leaving a remainder of 256.
The next digit of our result is 4. 
Result so far: 624.0
Subtracting 1588 from 1844 leaves us with 256.
Include the next digit (1) from the dividend after 256, then repeat: 2561 / 397

Let's proceed to step 7:
If we divide 2561 by 397, we get 6 and a remainder of 179.
Use 6 as the next digit of our solution. 
Result so far: 6246.0
The remainder is 179 after subtracting 2382 from 2561.
Bring next digit (8) of the dividend behind the 179 and repeat the process: 1798 / 397

Going ahead to step 8:
397 goes into 1798 4 times with a remainder of 210.
Record the quotient 4 as the next digit in the result. 
Result so far: 62464.0
Subtracting 1588 from 1798 leaves us with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Going ahead to step 9:
397 goes into 2100 5 times with a remainder of 115.
Put 5 as the next digit of the answer. 
Result so far: 62464.5
Subtract 1985 from 2100 to get 115.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1150, and continue the process.

Going ahead to step 10:
When dividing 1150 by 397, we get 2 with a remainder of 356.
The next digit of our result is 2. 
Result so far: 62464.52
If we subtract 794 from 1150, we get 356.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3560, and continue the process.

Let's proceed to step 11:
3560 divided by 397 is 8 with a remainder of 384.
The next digit of our result is 8. 
Result so far: 62464.528
Deduct 3176 from 3560 and we're left with 384.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

On to step 12:
397 can be fit into 3840 9 times, resulting in a remainder of 267.
Put 9 as the next digit of the answer. 
Result so far: 62464.5289
If we subtract 3573 from 3840, we get 267.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2670, and continue the process.

Advancing to step 13:
397 goes into 2670 6 times with a remainder of 288.
Write down 6 as next digit of the result. 
Result so far: 62464.52896
If we take 2382 away from 2670, we end up with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

On to step 14:
2880 divided by 397 is 7 with a remainder of 101.
Record the quotient 7 as the next digit in the result. 
Result so far: 62464.528967
Subtracting 2779 from 2880 leaves us with 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Going ahead to step 15:
397 goes into 1010 2 times with a remainder of 216.
Put 2 as the next digit of the answer. 
Result so far: 62464.5289672
Subtract 794 from 1010 to get 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Going ahead to step 16:
When dividing 2160 by 397, we get 5 with a remainder of 175.
Use 5 as the next digit of our solution. 
Result so far: 62464.52896725
If we subtract 1985 from 2160, we get 175.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1750, and continue the process.

In conclusion, the division gives 62464.52896725 with a balance of 1.75e-07.