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

Going ahead to step 1:
The number 997 fits into 1 0 times, leaving a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 997

Advancing to step 2:
If we divide 12 by 997, we get 0 and a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 12 after subtracting 0 from 12.
Fetch the next digit (7) from the dividend, attach it to 12 and continue: 127 / 997

On to step 3:
The number 997 fits into 127 0 times, leaving a remainder of 127.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 127 and we're left with 127.
Take the next digit (1) from the dividend and append it to 127, then repeat: 1271 / 997

On to step 4:
The number 997 fits into 1271 1 times, leaving a remainder of 274.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 997 away from 1271, we end up with 274.
Include the next digit (6) from the dividend after 274, then repeat: 2746 / 997

Going ahead to step 5:
If we divide 2746 by 997, we get 2 and a remainder of 752.
Use 2 as the next digit of our solution. 
Result so far: 12.0
Deduct 1994 from 2746 and we're left with 752.
Grab the next digit (2) from the dividend, add it to 752, then carry on: 7522 / 997

Let's proceed to step 6:
If we divide 7522 by 997, we get 7 and a remainder of 543.
The number 7 becomes the next digit in our result. 
Result so far: 127.0
Subtract 6979 from 7522 to get 543.
Fetch the next digit (7) from the dividend, attach it to 543 and continue: 5437 / 997

Going ahead to step 7:
5437 divided by 997 is 5 with a remainder of 452.
The number 5 becomes the next digit in our result. 
Result so far: 1275.0
Subtracting 4985 from 5437 leaves us with 452.
Append the next digit (3) from the dividend to 452 and continue with: 4523 / 997

Step 8:
If we divide 4523 by 997, we get 4 and a remainder of 535.
Put 4 as the next digit of the answer. 
Result so far: 12754.0
Subtracting 3988 from 4523 leaves us with 535.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5350, and continue the process.

Going ahead to step 9:
The number 997 fits into 5350 5 times, leaving a remainder of 365.
Use 5 as the next digit of our solution. 
Result so far: 12754.5
Subtract 4985 from 5350 to get 365.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3650, and continue the process.

Moving on to step 10:
If we divide 3650 by 997, we get 3 and a remainder of 659.
Record the quotient 3 as the next digit in the result. 
Result so far: 12754.53
The remainder is 659 after subtracting 2991 from 3650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6590, and continue the process.

On to step 11:
997 can be fit into 6590 6 times, resulting in a remainder of 608.
Write down 6 as next digit of the result. 
Result so far: 12754.536
Deduct 5982 from 6590 and we're left with 608.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6080, and continue the process.

Step 12:
The number 997 fits into 6080 6 times, leaving a remainder of 98.
Write down 6 as next digit of the result. 
Result so far: 12754.5366
If we subtract 5982 from 6080, we get 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

The final outcome is 12754.5366, with a leftover of 0.00098.