We're dividing 5096662 by 158 
We're looking to find how many times 158 goes into 5096662.

Let's proceed to step 1:
5 divided by 158 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 158

Let's proceed to step 2:
The number 158 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Grab the next digit (9) from the dividend, add it to 50, then carry on: 509 / 158

Going ahead to step 3:
When dividing 509 by 158, we get 3 with a remainder of 35.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 474 away from 509, we end up with 35.
Grab the next digit (6) from the dividend, add it to 35, then carry on: 356 / 158

Let's proceed to step 4:
158 goes into 356 2 times with a remainder of 40.
Put 2 as the next digit of the answer. 
Result so far: 32.0
Deduct 316 from 356 and we're left with 40.
Take the next digit (6) from the dividend and append it to 40, then repeat: 406 / 158

Moving on to step 5:
158 goes into 406 2 times with a remainder of 90.
Write down 2 as next digit of the result. 
Result so far: 322.0
If we take 316 away from 406, we end up with 90.
Append the next digit (6) from the dividend to 90 and continue with: 906 / 158

Step 6:
158 goes into 906 5 times with a remainder of 116.
Use 5 as the next digit of our solution. 
Result so far: 3225.0
The remainder is 116 after subtracting 790 from 906.
Fetch the next digit (2) from the dividend, attach it to 116 and continue: 1162 / 158

Going ahead to step 7:
If we divide 1162 by 158, we get 7 and a remainder of 56.
The next digit of our result is 7. 
Result so far: 32257.0
If we take 1106 away from 1162, we end up 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.

Step 8:
The number 158 fits into 560 3 times, leaving a remainder of 86.
Put 3 as the next digit of the answer. 
Result so far: 32257.3
Subtract 474 from 560 to get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Going ahead to step 9:
The number 158 fits into 860 5 times, leaving a remainder of 70.
Use 5 as the next digit of our solution. 
Result so far: 32257.35
If we subtract 790 from 860, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Let's proceed to step 10:
158 can be fit into 700 4 times, resulting in a remainder of 68.
Write down 4 as next digit of the result. 
Result so far: 32257.354
If we take 632 away from 700, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

On to step 11:
158 goes into 680 4 times with a remainder of 48.
Write down 4 as next digit of the result. 
Result so far: 32257.3544
If we subtract 632 from 680, we get 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Our division results in 32257.3544 with a remaining 0.00048.