We're dividing 787228 by 79 
Let's see how many times 79 fits into 787228.

On to step 1:
79 can be fit into 7 0 times, resulting in a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 79

Advancing to step 2:
The number 79 fits into 78 0 times, leaving a remainder of 78.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 78 to get 78.
Bring next digit (7) of the dividend behind the 78 and repeat the process: 787 / 79

Step 3:
79 can be fit into 787 9 times, resulting in a remainder of 76.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 711 from 787, we get 76.
Include the next digit (2) from the dividend after 76, then repeat: 762 / 79

Let's proceed to step 4:
79 goes into 762 9 times with a remainder of 51.
Put 9 as the next digit of the answer. 
Result so far: 99.0
Subtract 711 from 762 to get 51.
Bring next digit (2) of the dividend behind the 51 and repeat the process: 512 / 79

Let's proceed to step 5:
The number 79 fits into 512 6 times, leaving a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 996.0
Subtracting 474 from 512 leaves us with 38.
Bring next digit (8) of the dividend behind the 38 and repeat the process: 388 / 79

On to step 6:
388 divided by 79 is 4 with a remainder of 72.
Write down 4 as next digit of the result. 
Result so far: 9964.0
Subtract 316 from 388 to get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 7:
When dividing 720 by 79, we get 9 with a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 9964.9
Subtracting 711 from 720 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 8:
If we divide 90 by 79, we get 1 and a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 9964.91
Subtracting 79 from 90 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 9:
When dividing 110 by 79, we get 1 with a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 9964.911
If we subtract 79 from 110, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

After the division, we end up with 9964.911 and a remainder of 0.0031.