Let's divide 998187 by 79
Our goal is to divide 998187 by 79.

Step 1:
The number 79 fits into 9 0 times, leaving a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 79

Moving on to step 2:
When dividing 99 by 79, we get 1 with a remainder of 20.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 79 from 99 leaves us with 20.
Include the next digit (8) from the dividend after 20, then repeat: 208 / 79

Step 3:
208 divided by 79 is 2 with a remainder of 50.
Write down 2 as next digit of the result. 
Result so far: 12.0
If we subtract 158 from 208, we get 50.
Take the next digit (1) from the dividend and append it to 50, then repeat: 501 / 79

Advancing to step 4:
79 can be fit into 501 6 times, resulting in a remainder of 27.
Write down 6 as next digit of the result. 
Result so far: 126.0
Subtract 474 from 501 to get 27.
Bring next digit (8) of the dividend behind the 27 and repeat the process: 278 / 79

Moving on to step 5:
79 goes into 278 3 times with a remainder of 41.
Write down 3 as next digit of the result. 
Result so far: 1263.0
Subtracting 237 from 278 leaves us with 41.
Take the next digit (7) from the dividend and append it to 41, then repeat: 417 / 79

Advancing to step 6:
If we divide 417 by 79, we get 5 and a remainder of 22.
Record the quotient 5 as the next digit in the result. 
Result so far: 12635.0
The remainder is 22 after subtracting 395 from 417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 7:
220 divided by 79 is 2 with a remainder of 62.
Record the quotient 2 as the next digit in the result. 
Result so far: 12635.2
Subtracting 158 from 220 leaves us with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Going ahead to step 8:
If we divide 620 by 79, we get 7 and a remainder of 67.
The number 7 becomes the next digit in our result. 
Result so far: 12635.27
Deduct 553 from 620 and we're left with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

On to step 9:
If we divide 670 by 79, we get 8 and a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 12635.278
If we take 632 away from 670, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Advancing to step 10:
79 can be fit into 380 4 times, resulting in a remainder of 64.
Put 4 as the next digit of the answer. 
Result so far: 12635.2784
Deduct 316 from 380 and we're left with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 11:
If we divide 640 by 79, we get 8 and a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 12635.27848
Subtract 632 from 640 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 12:
79 goes into 80 1 times with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 12635.278481
If we subtract 79 from 80, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 13:
79 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 12635.278481
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 14:
79 goes into 100 1 times with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 12635.27848101
The remainder is 21 after subtracting 79 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

After the division, we end up with 12635.27848101 and a remainder of 2.1e-08.