We're dividing 987148 by 79 
We want to divide 987148 by 79.

Going ahead to step 1:
When dividing 9 by 79, we get 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 79

On to step 2:
If we divide 98 by 79, we get 1 and a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 79 from 98 leaves us with 19.
Include the next digit (7) from the dividend after 19, then repeat: 197 / 79

Let's proceed to step 3:
If we divide 197 by 79, we get 2 and a remainder of 39.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we take 158 away from 197, we end up with 39.
Bring next digit (1) of the dividend behind the 39 and repeat the process: 391 / 79

On to step 4:
79 can be fit into 391 4 times, resulting in a remainder of 75.
Put 4 as the next digit of the answer. 
Result so far: 124.0
The remainder is 75 after subtracting 316 from 391.
Include the next digit (4) from the dividend after 75, then repeat: 754 / 79

On to step 5:
When dividing 754 by 79, we get 9 with a remainder of 43.
The next digit of our result is 9. 
Result so far: 1249.0
The remainder is 43 after subtracting 711 from 754.
Grab the next digit (8) from the dividend, add it to 43, then carry on: 438 / 79

Moving on to step 6:
The number 79 fits into 438 5 times, leaving a remainder of 43.
The next digit of our result is 5. 
Result so far: 12495.0
Deduct 395 from 438 and we're left with 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Going ahead to step 7:
The number 79 fits into 430 5 times, leaving a remainder of 35.
Put 5 as the next digit of the answer. 
Result so far: 12495.5
Subtract 395 from 430 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 8:
79 can be fit into 350 4 times, resulting in a remainder of 34.
Record the quotient 4 as the next digit in the result. 
Result so far: 12495.54
The remainder is 34 after subtracting 316 from 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Advancing to step 9:
If we divide 340 by 79, we get 4 and a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 12495.544
The remainder is 24 after subtracting 316 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The quotient of the division is 12495.544, and the remainder is 0.0024.