50042166 ÷ 158 
We want to divide 50042166 by 158.

Going ahead to step 1:
5 divided by 158 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 158

Let's proceed to step 2:
50 divided by 158 is 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Take the next digit (0) from the dividend and append it to 50, then repeat: 500 / 158

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

Step 4:
When dividing 264 by 158, we get 1 with a remainder of 106.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
If we take 158 away from 264, we end up with 106.
Grab the next digit (2) from the dividend, add it to 106, then carry on: 1062 / 158

Moving on to step 5:
When dividing 1062 by 158, we get 6 with a remainder of 114.
Use 6 as the next digit of our solution. 
Result so far: 316.0
Subtract 948 from 1062 to get 114.
Bring next digit (1) of the dividend behind the 114 and repeat the process: 1141 / 158

On to step 6:
The number 158 fits into 1141 7 times, leaving a remainder of 35.
The next digit of our result is 7. 
Result so far: 3167.0
Subtracting 1106 from 1141 leaves us with 35.
Grab the next digit (6) from the dividend, add it to 35, then carry on: 356 / 158

On to step 7:
158 goes into 356 2 times with a remainder of 40.
Use 2 as the next digit of our solution. 
Result so far: 31672.0
Subtracting 316 from 356 leaves us with 40.
Grab the next digit (6) from the dividend, add it to 40, then carry on: 406 / 158

Going ahead to step 8:
158 can be fit into 406 2 times, resulting in a remainder of 90.
Use 2 as the next digit of our solution. 
Result so far: 316722.0
The remainder is 90 after subtracting 316 from 406.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Going ahead to step 9:
When dividing 900 by 158, we get 5 with a remainder of 110.
The next digit of our result is 5. 
Result so far: 316722.5
Deduct 790 from 900 and we're left with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Moving on to step 10:
If we divide 1100 by 158, we get 6 and a remainder of 152.
Use 6 as the next digit of our solution. 
Result so far: 316722.56
The remainder is 152 after subtracting 948 from 1100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1520, and continue the process.

Going ahead to step 11:
158 can be fit into 1520 9 times, resulting in a remainder of 98.
Use 9 as the next digit of our solution. 
Result so far: 316722.569
Subtract 1422 from 1520 to get 98.
Since there are no more digits in the dividend, we add a zero to the remainder making it 980, and continue the process.

Step 12:
158 goes into 980 6 times with a remainder of 32.
The next digit of our result is 6. 
Result so far: 316722.5696
Subtract 948 from 980 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 13:
158 can be fit into 320 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 316722.56962
Subtracting 316 from 320 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
If we divide 40 by 158, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 316722.56962
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 15:
When dividing 400 by 158, we get 2 with a remainder of 84.
Record the quotient 2 as the next digit in the result. 
Result so far: 316722.5696202
Subtract 316 from 400 to get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 16:
When dividing 840 by 158, we get 5 with a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 316722.56962025
Subtracting 790 from 840 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

In conclusion, the division gives 316722.56962025 with a balance of 5e-08.