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

Moving on to step 1:
When dividing 1 by 997, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 997

Advancing to step 2:
997 goes into 12 0 times with a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Fetch the next digit (1) from the dividend, attach it to 12 and continue: 121 / 997

On to step 3:
If we divide 121 by 997, we get 0 and a remainder of 121.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 121, we get 121.
Include the next digit (5) from the dividend after 121, then repeat: 1215 / 997

Advancing to step 4:
1215 divided by 997 is 1 with a remainder of 218.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 997 from 1215, we get 218.
Fetch the next digit (8) from the dividend, attach it to 218 and continue: 2188 / 997

Advancing to step 5:
When dividing 2188 by 997, we get 2 with a remainder of 194.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Deduct 1994 from 2188 and we're left with 194.
Grab the next digit (6) from the dividend, add it to 194, then carry on: 1946 / 997

Step 6:
The number 997 fits into 1946 1 times, leaving a remainder of 949.
The number 1 becomes the next digit in our result. 
Result so far: 121.0
Deduct 997 from 1946 and we're left with 949.
Append the next digit (4) from the dividend to 949 and continue with: 9494 / 997

On to step 7:
The number 997 fits into 9494 9 times, leaving a remainder of 521.
The next digit of our result is 9. 
Result so far: 1219.0
If we subtract 8973 from 9494, we get 521.
Bring next digit (3) of the dividend behind the 521 and repeat the process: 5213 / 997

On to step 8:
997 goes into 5213 5 times with a remainder of 228.
Put 5 as the next digit of the answer. 
Result so far: 12195.0
If we subtract 4985 from 5213, we get 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

On to step 9:
When dividing 2280 by 997, we get 2 with a remainder of 286.
Put 2 as the next digit of the answer. 
Result so far: 12195.2
Deduct 1994 from 2280 and we're left with 286.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

Step 10:
If we divide 2860 by 997, we get 2 and a remainder of 866.
Write down 2 as next digit of the result. 
Result so far: 12195.22
If we take 1994 away from 2860, we end up with 866.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8660, and continue the process.

In conclusion, the division gives 12195.22 with a balance of 0.866.