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

Step 1:
When dividing 5 by 158, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (9) from the dividend, attach it to 5 and continue: 59 / 158

Going ahead to step 2:
When dividing 59 by 158, we get 0 with a remainder of 59.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 59, we get 59.
Append the next digit (1) from the dividend to 59 and continue with: 591 / 158

Advancing to step 3:
591 divided by 158 is 3 with a remainder of 117.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we subtract 474 from 591, we get 117.
Fetch the next digit (0) from the dividend, attach it to 117 and continue: 1170 / 158

Let's proceed to step 4:
1170 divided by 158 is 7 with a remainder of 64.
Record the quotient 7 as the next digit in the result. 
Result so far: 37.0
The remainder is 64 after subtracting 1106 from 1170.
Fetch the next digit (0) from the dividend, attach it to 64 and continue: 640 / 158

Step 5:
640 divided by 158 is 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 374.0
If we take 632 away from 640, we end up with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 158

Going ahead to step 6:
89 divided by 158 is 0 with a remainder of 89.
Use 0 as the next digit of our solution. 
Result so far: 3740.0
Subtract 0 from 89 to get 89.
Grab the next digit (6) from the dividend, add it to 89, then carry on: 896 / 158

Advancing to step 7:
896 divided by 158 is 5 with a remainder of 106.
Record the quotient 5 as the next digit in the result. 
Result so far: 37405.0
Deduct 790 from 896 and we're left with 106.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1060, and continue the process.

On to step 8:
When dividing 1060 by 158, we get 6 with a remainder of 112.
Write down 6 as next digit of the result. 
Result so far: 37405.6
Deduct 948 from 1060 and we're left with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Moving on to step 9:
158 can be fit into 1120 7 times, resulting in a remainder of 14.
The next digit of our result is 7. 
Result so far: 37405.67
If we take 1106 away from 1120, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 10:
140 divided by 158 is 0 with a remainder of 140.
Use 0 as the next digit of our solution. 
Result so far: 37405.67
If we subtract 0 from 140, we get 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Step 11:
The number 158 fits into 1400 8 times, leaving a remainder of 136.
Write down 8 as next digit of the result. 
Result so far: 37405.6708
Subtracting 1264 from 1400 leaves us with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

On to step 12:
The number 158 fits into 1360 8 times, leaving a remainder of 96.
Use 8 as the next digit of our solution. 
Result so far: 37405.67088
If we subtract 1264 from 1360, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

After the division, we end up with 37405.67088 and a remainder of 9.6e-05.