We're dividing 126987 by 98 
We want to divide 126987 by 98.

On to step 1:
1 divided by 98 is 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 98

Step 2:
The number 98 fits into 12 0 times, leaving a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Include the next digit (6) from the dividend after 12, then repeat: 126 / 98

Advancing to step 3:
The number 98 fits into 126 1 times, leaving a remainder of 28.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 98 from 126 leaves us with 28.
Grab the next digit (9) from the dividend, add it to 28, then carry on: 289 / 98

Let's proceed to step 4:
98 goes into 289 2 times with a remainder of 93.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Deduct 196 from 289 and we're left with 93.
Grab the next digit (8) from the dividend, add it to 93, then carry on: 938 / 98

Moving on to step 5:
When dividing 938 by 98, we get 9 with a remainder of 56.
Put 9 as the next digit of the answer. 
Result so far: 129.0
Subtracting 882 from 938 leaves us with 56.
Append the next digit (7) from the dividend to 56 and continue with: 567 / 98

Advancing to step 6:
98 can be fit into 567 5 times, resulting in a remainder of 77.
Write down 5 as next digit of the result. 
Result so far: 1295.0
Deduct 490 from 567 and we're left with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Step 7:
When dividing 770 by 98, we get 7 with a remainder of 84.
Record the quotient 7 as the next digit in the result. 
Result so far: 1295.7
The remainder is 84 after subtracting 686 from 770.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 8:
When dividing 840 by 98, we get 8 with a remainder of 56.
Put 8 as the next digit of the answer. 
Result so far: 1295.78
Deduct 784 from 840 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

On to step 9:
98 can be fit into 560 5 times, resulting in a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 1295.785
Subtracting 490 from 560 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Going ahead to step 10:
98 goes into 700 7 times with a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 1295.7857
The remainder is 14 after subtracting 686 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 11:
When dividing 140 by 98, we get 1 with a remainder of 42.
The next digit of our result is 1. 
Result so far: 1295.78571
Subtract 98 from 140 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 12:
98 can be fit into 420 4 times, resulting in a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 1295.785714
If we take 392 away from 420, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 13:
98 goes into 280 2 times with a remainder of 84.
Use 2 as the next digit of our solution. 
Result so far: 1295.7857142
The remainder is 84 after subtracting 196 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Moving on to step 14:
If we divide 840 by 98, we get 8 and a remainder of 56.
The next digit of our result is 8. 
Result so far: 1295.78571428
Deduct 784 from 840 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

The quotient of the division is 1295.78571428, and the remainder is 5.6e-08.