We're dividing 40139500 by 155 
We want to divide 40139500 by 155.

Moving on to step 1:
4 divided by 155 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 155

Advancing to step 2:
If we divide 40 by 155, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 155

On to step 3:
If we divide 401 by 155, we get 2 and a remainder of 91.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we subtract 310 from 401, we get 91.
Fetch the next digit (3) from the dividend, attach it to 91 and continue: 913 / 155

Let's proceed to step 4:
The number 155 fits into 913 5 times, leaving a remainder of 138.
Write down 5 as next digit of the result. 
Result so far: 25.0
If we subtract 775 from 913, we get 138.
Take the next digit (9) from the dividend and append it to 138, then repeat: 1389 / 155

Step 5:
155 can be fit into 1389 8 times, resulting in a remainder of 149.
Write down 8 as next digit of the result. 
Result so far: 258.0
If we take 1240 away from 1389, we end up with 149.
Append the next digit (5) from the dividend to 149 and continue with: 1495 / 155

On to step 6:
1495 divided by 155 is 9 with a remainder of 100.
The number 9 becomes the next digit in our result. 
Result so far: 2589.0
If we take 1395 away from 1495, we end up with 100.
Grab the next digit (0) from the dividend, add it to 100, then carry on: 1000 / 155

Going ahead to step 7:
155 can be fit into 1000 6 times, resulting in a remainder of 70.
The number 6 becomes the next digit in our result. 
Result so far: 25896.0
If we subtract 930 from 1000, we get 70.
Grab the next digit (0) from the dividend, add it to 70, then carry on: 700 / 155

Step 8:
If we divide 700 by 155, we get 4 and a remainder of 80.
Use 4 as the next digit of our solution. 
Result so far: 258964.0
Subtracting 620 from 700 leaves us with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Advancing to step 9:
If we divide 800 by 155, we get 5 and a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 258964.5
Subtracting 775 from 800 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 10:
The number 155 fits into 250 1 times, leaving a remainder of 95.
Record the quotient 1 as the next digit in the result. 
Result so far: 258964.51
The remainder is 95 after subtracting 155 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 950, and continue the process.

Step 11:
When dividing 950 by 155, we get 6 with a remainder of 20.
Write down 6 as next digit of the result. 
Result so far: 258964.516
Subtracting 930 from 950 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 12:
The number 155 fits into 200 1 times, leaving a remainder of 45.
Record the quotient 1 as the next digit in the result. 
Result so far: 258964.5161
Deduct 155 from 200 and we're left with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Let's proceed to step 13:
If we divide 450 by 155, we get 2 and a remainder of 140.
Write down 2 as next digit of the result. 
Result so far: 258964.51612
Subtract 310 from 450 to 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 14:
155 goes into 1400 9 times with a remainder of 5.
Use 9 as the next digit of our solution. 
Result so far: 258964.516129
If we take 1395 away from 1400, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 15:
155 can be fit into 50 0 times, resulting in a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 258964.516129
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 16:
If we divide 500 by 155, we get 3 and a remainder of 35.
Use 3 as the next digit of our solution. 
Result so far: 258964.51612903
If we subtract 465 from 500, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final result is 258964.51612903 with a remainder of 3.5e-08.