Let's divide 9834994 by 158
We want to divide 9834994 by 158.

Step 1:
158 can be fit into 9 0 times, resulting in a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 158

On to step 2:
158 goes into 98 0 times with a remainder of 98.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 98 leaves us with 98.
Grab the next digit (3) from the dividend, add it to 98, then carry on: 983 / 158

Moving on to step 3:
The number 158 fits into 983 6 times, leaving a remainder of 35.
Write down 6 as next digit of the result. 
Result so far: 6.0
Subtract 948 from 983 to get 35.
Append the next digit (4) from the dividend to 35 and continue with: 354 / 158

Advancing to step 4:
158 can be fit into 354 2 times, resulting in a remainder of 38.
Write down 2 as next digit of the result. 
Result so far: 62.0
If we take 316 away from 354, we end up with 38.
Bring next digit (9) of the dividend behind the 38 and repeat the process: 389 / 158

Moving on to step 5:
The number 158 fits into 389 2 times, leaving a remainder of 73.
Write down 2 as next digit of the result. 
Result so far: 622.0
If we take 316 away from 389, we end up with 73.
Bring next digit (9) of the dividend behind the 73 and repeat the process: 739 / 158

On to step 6:
739 divided by 158 is 4 with a remainder of 107.
Record the quotient 4 as the next digit in the result. 
Result so far: 6224.0
If we subtract 632 from 739, we get 107.
Grab the next digit (4) from the dividend, add it to 107, then carry on: 1074 / 158

Going ahead to step 7:
The number 158 fits into 1074 6 times, leaving a remainder of 126.
Put 6 as the next digit of the answer. 
Result so far: 62246.0
Subtracting 948 from 1074 leaves us with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

On to step 8:
If we divide 1260 by 158, we get 7 and a remainder of 154.
Write down 7 as next digit of the result. 
Result so far: 62246.7
Subtracting 1106 from 1260 leaves us with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

On to step 9:
The number 158 fits into 1540 9 times, leaving a remainder of 118.
Write down 9 as next digit of the result. 
Result so far: 62246.79
If we subtract 1422 from 1540, we get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Step 10:
If we divide 1180 by 158, we get 7 and a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 62246.797
The remainder is 74 after subtracting 1106 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 11:
158 goes into 740 4 times with a remainder of 108.
The number 4 becomes the next digit in our result. 
Result so far: 62246.7974
If we take 632 away from 740, we end up with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Let's proceed to step 12:
1080 divided by 158 is 6 with a remainder of 132.
Use 6 as the next digit of our solution. 
Result so far: 62246.79746
Subtract 948 from 1080 to get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

On to step 13:
158 can be fit into 1320 8 times, resulting in a remainder of 56.
The number 8 becomes the next digit in our result. 
Result so far: 62246.797468
Deduct 1264 from 1320 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 14:
158 can be fit into 560 3 times, resulting in a remainder of 86.
Use 3 as the next digit of our solution. 
Result so far: 62246.7974683
Subtracting 474 from 560 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

On to step 15:
158 can be fit into 860 5 times, resulting in a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 62246.79746835
The remainder is 70 after subtracting 790 from 860.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

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