We look at the division of 997040 by 78 
Our goal is to divide 997040 by 78.

Advancing to step 1:
9 divided by 78 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Include the next digit (9) from the dividend after 9, then repeat: 99 / 78

Moving on to step 2:
78 goes into 99 1 times with a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 78 from 99, we get 21.
Take the next digit (7) from the dividend and append it to 21, then repeat: 217 / 78

Step 3:
78 can be fit into 217 2 times, resulting in a remainder of 61.
Put 2 as the next digit of the answer. 
Result so far: 12.0
Subtract 156 from 217 to get 61.
Bring next digit (0) of the dividend behind the 61 and repeat the process: 610 / 78

Let's proceed to step 4:
If we divide 610 by 78, we get 7 and a remainder of 64.
Write down 7 as next digit of the result. 
Result so far: 127.0
Deduct 546 from 610 and we're left with 64.
Grab the next digit (4) from the dividend, add it to 64, then carry on: 644 / 78

Going ahead to step 5:
78 goes into 644 8 times with a remainder of 20.
The number 8 becomes the next digit in our result. 
Result so far: 1278.0
The remainder is 20 after subtracting 624 from 644.
Take the next digit (0) from the dividend and append it to 20, then repeat: 200 / 78

Let's proceed to step 6:
78 can be fit into 200 2 times, resulting in a remainder of 44.
The number 2 becomes the next digit in our result. 
Result so far: 12782.0
Subtracting 156 from 200 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 7:
When dividing 440 by 78, we get 5 with a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 12782.5
Subtract 390 from 440 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 8:
500 divided by 78 is 6 with a remainder of 32.
The next digit of our result is 6. 
Result so far: 12782.56
If we take 468 away from 500, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 9:
When dividing 320 by 78, we get 4 with a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 12782.564
Deduct 312 from 320 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 10:
The number 78 fits into 80 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 12782.5641
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 11:
The number 78 fits into 20 0 times, leaving a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 12782.5641
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 12:
78 goes into 200 2 times with a remainder of 44.
Write down 2 as next digit of the result. 
Result so far: 12782.564102
Subtract 156 from 200 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

On to step 13:
When dividing 440 by 78, we get 5 with a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 12782.5641025
Subtract 390 from 440 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 14:
The number 78 fits into 500 6 times, leaving a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 12782.56410256
Subtracting 468 from 500 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 12782.56410256, with a leftover of 3.2e-08.