12404158 divided by 997 
We want to figure out the number of times 12404158 can be divided by 997.

On to step 1:
997 can be fit into 1 0 times, resulting in a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 997

Advancing to step 2:
The number 997 fits into 12 0 times, leaving a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Take the next digit (4) from the dividend and append it to 12, then repeat: 124 / 997

Going ahead to step 3:
124 divided by 997 is 0 with a remainder of 124.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 124, we get 124.
Grab the next digit (0) from the dividend, add it to 124, then carry on: 1240 / 997

Moving on to step 4:
997 goes into 1240 1 times with a remainder of 243.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 997 from 1240 to get 243.
Bring next digit (4) of the dividend behind the 243 and repeat the process: 2434 / 997

On to step 5:
If we divide 2434 by 997, we get 2 and a remainder of 440.
The next digit of our result is 2. 
Result so far: 12.0
Subtract 1994 from 2434 to get 440.
Include the next digit (1) from the dividend after 440, then repeat: 4401 / 997

Going ahead to step 6:
The number 997 fits into 4401 4 times, leaving a remainder of 413.
Use 4 as the next digit of our solution. 
Result so far: 124.0
The remainder is 413 after subtracting 3988 from 4401.
Include the next digit (5) from the dividend after 413, then repeat: 4135 / 997

Let's proceed to step 7:
If we divide 4135 by 997, we get 4 and a remainder of 147.
The next digit of our result is 4. 
Result so far: 1244.0
Deduct 3988 from 4135 and we're left with 147.
Take the next digit (8) from the dividend and append it to 147, then repeat: 1478 / 997

Step 8:
The number 997 fits into 1478 1 times, leaving a remainder of 481.
Write down 1 as next digit of the result. 
Result so far: 12441.0
Subtract 997 from 1478 to get 481.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4810, and continue the process.

Moving on to step 9:
997 can be fit into 4810 4 times, resulting in a remainder of 822.
The number 4 becomes the next digit in our result. 
Result so far: 12441.4
Subtracting 3988 from 4810 leaves us with 822.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8220, and continue the process.

Step 10:
997 goes into 8220 8 times with a remainder of 244.
Write down 8 as next digit of the result. 
Result so far: 12441.48
Deduct 7976 from 8220 and we're left with 244.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2440, and continue the process.

Going ahead to step 11:
The number 997 fits into 2440 2 times, leaving a remainder of 446.
The next digit of our result is 2. 
Result so far: 12441.482
If we take 1994 away from 2440, we end up with 446.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4460, and continue the process.

Let's proceed to step 12:
The number 997 fits into 4460 4 times, leaving a remainder of 472.
Write down 4 as next digit of the result. 
Result so far: 12441.4824
Subtract 3988 from 4460 to get 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Step 13:
997 can be fit into 4720 4 times, resulting in a remainder of 732.
Record the quotient 4 as the next digit in the result. 
Result so far: 12441.48244
Subtracting 3988 from 4720 leaves us with 732.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7320, and continue the process.

The final outcome is 12441.48244, with a leftover of 0.000732.