We look at the division of 997867 by 78 
We're looking to find how many times 78 goes into 997867.

On to step 1:
If we divide 9 by 78, we get 0 and a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 78

On to step 2:
99 divided by 78 is 1 with a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 78 from 99 and we're left with 21.
Grab the next digit (7) from the dividend, add it to 21, then carry on: 217 / 78

Step 3:
217 divided by 78 is 2 with a remainder of 61.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we subtract 156 from 217, we get 61.
Take the next digit (8) from the dividend and append it to 61, then repeat: 618 / 78

Advancing to step 4:
If we divide 618 by 78, we get 7 and a remainder of 72.
The next digit of our result is 7. 
Result so far: 127.0
Subtracting 546 from 618 leaves us with 72.
Include the next digit (6) from the dividend after 72, then repeat: 726 / 78

Going ahead to step 5:
78 can be fit into 726 9 times, resulting in a remainder of 24.
Use 9 as the next digit of our solution. 
Result so far: 1279.0
If we subtract 702 from 726, we get 24.
Bring next digit (7) of the dividend behind the 24 and repeat the process: 247 / 78

Let's proceed to step 6:
78 can be fit into 247 3 times, resulting in a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 12793.0
If we subtract 234 from 247, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Let's proceed to step 7:
If we divide 130 by 78, we get 1 and a remainder of 52.
The number 1 becomes the next digit in our result. 
Result so far: 12793.1
The remainder is 52 after subtracting 78 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 8:
When dividing 520 by 78, we get 6 with a remainder of 52.
Write down 6 as next digit of the result. 
Result so far: 12793.16
The remainder is 52 after subtracting 468 from 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

On to step 9:
520 divided by 78 is 6 with a remainder of 52.
Use 6 as the next digit of our solution. 
Result so far: 12793.166
Subtracting 468 from 520 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

After the division, we end up with 12793.166 and a remainder of 0.0052.