Let's divide 840542 by 98
We're looking to find how many times 98 goes into 840542.

Going ahead to step 1:
98 goes into 8 0 times with a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (4) from the dividend to 8 and continue with: 84 / 98

Going ahead to step 2:
If we divide 84 by 98, we get 0 and a remainder of 84.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 84, we get 84.
Append the next digit (0) from the dividend to 84 and continue with: 840 / 98

Let's proceed to step 3:
When dividing 840 by 98, we get 8 with a remainder of 56.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
Subtract 784 from 840 to get 56.
Bring next digit (5) of the dividend behind the 56 and repeat the process: 565 / 98

Let's proceed to step 4:
If we divide 565 by 98, we get 5 and a remainder of 75.
Use 5 as the next digit of our solution. 
Result so far: 85.0
Subtracting 490 from 565 leaves us with 75.
Append the next digit (4) from the dividend to 75 and continue with: 754 / 98

Advancing to step 5:
98 goes into 754 7 times with a remainder of 68.
Write down 7 as next digit of the result. 
Result so far: 857.0
If we take 686 away from 754, we end up with 68.
Grab the next digit (2) from the dividend, add it to 68, then carry on: 682 / 98

Step 6:
When dividing 682 by 98, we get 6 with a remainder of 94.
Write down 6 as next digit of the result. 
Result so far: 8576.0
The remainder is 94 after subtracting 588 from 682.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Let's proceed to step 7:
When dividing 940 by 98, we get 9 with a remainder of 58.
Use 9 as the next digit of our solution. 
Result so far: 8576.9
The remainder is 58 after subtracting 882 from 940.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Advancing to step 8:
580 divided by 98 is 5 with a remainder of 90.
Record the quotient 5 as the next digit in the result. 
Result so far: 8576.95
If we subtract 490 from 580, we get 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Advancing to step 9:
The number 98 fits into 900 9 times, leaving a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 8576.959
Deduct 882 from 900 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 10:
98 goes into 180 1 times with a remainder of 82.
The number 1 becomes the next digit in our result. 
Result so far: 8576.9591
Subtract 98 from 180 to get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Advancing to step 11:
820 divided by 98 is 8 with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 8576.95918
If we subtract 784 from 820, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 12:
The number 98 fits into 360 3 times, leaving a remainder of 66.
Use 3 as the next digit of our solution. 
Result so far: 8576.959183
If we take 294 away from 360, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 13:
The number 98 fits into 660 6 times, leaving a remainder of 72.
The next digit of our result is 6. 
Result so far: 8576.9591836
Deduct 588 from 660 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

On to step 14:
When dividing 720 by 98, we get 7 with a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 8576.95918367
Deduct 686 from 720 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Our division results in 8576.95918367 with a remaining 3.4e-08.