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

Step 1:
997 goes into 2 0 times with a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Include the next digit (4) from the dividend after 2, then repeat: 24 / 997

On to step 2:
997 goes into 24 0 times with a remainder of 24.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 24 after subtracting 0 from 24.
Take the next digit (1) from the dividend and append it to 24, then repeat: 241 / 997

Going ahead to step 3:
The number 997 fits into 241 0 times, leaving a remainder of 241.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 241, we get 241.
Grab the next digit (7) from the dividend, add it to 241, then carry on: 2417 / 997

Advancing to step 4:
2417 divided by 997 is 2 with a remainder of 423.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 1994 from 2417 leaves us with 423.
Grab the next digit (8) from the dividend, add it to 423, then carry on: 4238 / 997

Advancing to step 5:
997 can be fit into 4238 4 times, resulting in a remainder of 250.
The next digit of our result is 4. 
Result so far: 24.0
If we take 3988 away from 4238, we end up with 250.
Include the next digit (1) from the dividend after 250, then repeat: 2501 / 997

Going ahead to step 6:
When dividing 2501 by 997, we get 2 with a remainder of 507.
The number 2 becomes the next digit in our result. 
Result so far: 242.0
Subtracting 1994 from 2501 leaves us with 507.
Bring next digit (0) of the dividend behind the 507 and repeat the process: 5070 / 997

Let's proceed to step 7:
The number 997 fits into 5070 5 times, leaving a remainder of 85.
Write down 5 as next digit of the result. 
Result so far: 2425.0
The remainder is 85 after subtracting 4985 from 5070.
Include the next digit (1) from the dividend after 85, then repeat: 851 / 997

On to step 8:
If we divide 851 by 997, we get 0 and a remainder of 851.
Use 0 as the next digit of our solution. 
Result so far: 24250.0
The remainder is 851 after subtracting 0 from 851.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8510, and continue the process.

Let's proceed to step 9:
997 goes into 8510 8 times with a remainder of 534.
Record the quotient 8 as the next digit in the result. 
Result so far: 24250.8
Subtracting 7976 from 8510 leaves us with 534.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5340, and continue the process.

Going ahead to step 10:
When dividing 5340 by 997, we get 5 with a remainder of 355.
Use 5 as the next digit of our solution. 
Result so far: 24250.85
Deduct 4985 from 5340 and we're left with 355.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3550, and continue the process.

Advancing to step 11:
3550 divided by 997 is 3 with a remainder of 559.
The number 3 becomes the next digit in our result. 
Result so far: 24250.853
If we take 2991 away from 3550, we end up with 559.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5590, and continue the process.

Advancing to step 12:
The number 997 fits into 5590 5 times, leaving a remainder of 605.
Write down 5 as next digit of the result. 
Result so far: 24250.8535
If we subtract 4985 from 5590, we get 605.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6050, and continue the process.

On to step 13:
The number 997 fits into 6050 6 times, leaving a remainder of 68.
Use 6 as the next digit of our solution. 
Result so far: 24250.85356
Deduct 5982 from 6050 and we're left with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 14:
When dividing 680 by 997, we get 0 with a remainder of 680.
Write down 0 as next digit of the result. 
Result so far: 24250.85356
The remainder is 680 after subtracting 0 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Let's proceed to step 15:
When dividing 6800 by 997, we get 6 with a remainder of 818.
Put 6 as the next digit of the answer. 
Result so far: 24250.8535606
Subtracting 5982 from 6800 leaves us with 818.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8180, and continue the process.

Let's proceed to step 16:
The number 997 fits into 8180 8 times, leaving a remainder of 204.
Record the quotient 8 as the next digit in the result. 
Result so far: 24250.85356068
If we subtract 7976 from 8180, we get 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Our division results in 24250.85356068 with a remaining 2.04e-07.