We're dividing 12986434 by 997 
We want to divide 12986434 by 997.

Going ahead to step 1:
997 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 997

On to step 2:
997 can be fit into 12 0 times, resulting in a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Fetch the next digit (9) from the dividend, attach it to 12 and continue: 129 / 997

Step 3:
129 divided by 997 is 0 with a remainder of 129.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 129, we end up with 129.
Append the next digit (8) from the dividend to 129 and continue with: 1298 / 997

Step 4:
When dividing 1298 by 997, we get 1 with a remainder of 301.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 997 away from 1298, we end up with 301.
Fetch the next digit (6) from the dividend, attach it to 301 and continue: 3016 / 997

On to step 5:
When dividing 3016 by 997, we get 3 with a remainder of 25.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Subtract 2991 from 3016 to get 25.
Grab the next digit (4) from the dividend, add it to 25, then carry on: 254 / 997

Going ahead to step 6:
The number 997 fits into 254 0 times, leaving a remainder of 254.
Write down 0 as next digit of the result. 
Result so far: 130.0
If we take 0 away from 254, we end up with 254.
Bring next digit (3) of the dividend behind the 254 and repeat the process: 2543 / 997

Moving on to step 7:
997 goes into 2543 2 times with a remainder of 549.
The number 2 becomes the next digit in our result. 
Result so far: 1302.0
The remainder is 549 after subtracting 1994 from 2543.
Bring next digit (4) of the dividend behind the 549 and repeat the process: 5494 / 997

Let's proceed to step 8:
If we divide 5494 by 997, we get 5 and a remainder of 509.
The next digit of our result is 5. 
Result so far: 13025.0
If we subtract 4985 from 5494, we get 509.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5090, and continue the process.

Step 9:
When dividing 5090 by 997, we get 5 with a remainder of 105.
Write down 5 as next digit of the result. 
Result so far: 13025.5
If we take 4985 away from 5090, we end up with 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Going ahead to step 10:
When dividing 1050 by 997, we get 1 with a remainder of 53.
Record the quotient 1 as the next digit in the result. 
Result so far: 13025.51
Subtracting 997 from 1050 leaves us with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Let's proceed to step 11:
997 goes into 530 0 times with a remainder of 530.
Use 0 as the next digit of our solution. 
Result so far: 13025.51
If we subtract 0 from 530, we get 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Let's proceed to step 12:
When dividing 5300 by 997, we get 5 with a remainder of 315.
Use 5 as the next digit of our solution. 
Result so far: 13025.5105
Deduct 4985 from 5300 and we're left with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Advancing to step 13:
997 can be fit into 3150 3 times, resulting in a remainder of 159.
Use 3 as the next digit of our solution. 
Result so far: 13025.51053
If we subtract 2991 from 3150, we get 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Let's proceed to step 14:
997 can be fit into 1590 1 times, resulting in a remainder of 593.
Write down 1 as next digit of the result. 
Result so far: 13025.510531
If we subtract 997 from 1590, we get 593.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5930, and continue the process.

Advancing to step 15:
997 goes into 5930 5 times with a remainder of 945.
The number 5 becomes the next digit in our result. 
Result so far: 13025.5105315
Subtracting 4985 from 5930 leaves us with 945.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9450, and continue the process.

Advancing to step 16:
When dividing 9450 by 997, we get 9 with a remainder of 477.
Use 9 as the next digit of our solution. 
Result so far: 13025.51053159
The remainder is 477 after subtracting 8973 from 9450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4770, and continue the process.

The final outcome is 13025.51053159, with a leftover of 4.77e-07.