We look at the division of 40186477 by 293 
We want to divide 40186477 by 293.

Going ahead to step 1:
The number 293 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 293

On to step 2:
If we divide 40 by 293, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 293

On to step 3:
401 divided by 293 is 1 with a remainder of 108.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 293 from 401 and we're left with 108.
Grab the next digit (8) from the dividend, add it to 108, then carry on: 1088 / 293

On to step 4:
When dividing 1088 by 293, we get 3 with a remainder of 209.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we subtract 879 from 1088, we get 209.
Append the next digit (6) from the dividend to 209 and continue with: 2096 / 293

Moving on to step 5:
The number 293 fits into 2096 7 times, leaving a remainder of 45.
Use 7 as the next digit of our solution. 
Result so far: 137.0
Deduct 2051 from 2096 and we're left with 45.
Grab the next digit (4) from the dividend, add it to 45, then carry on: 454 / 293

Step 6:
454 divided by 293 is 1 with a remainder of 161.
Record the quotient 1 as the next digit in the result. 
Result so far: 1371.0
If we subtract 293 from 454, we get 161.
Fetch the next digit (7) from the dividend, attach it to 161 and continue: 1617 / 293

Step 7:
293 can be fit into 1617 5 times, resulting in a remainder of 152.
Use 5 as the next digit of our solution. 
Result so far: 13715.0
If we take 1465 away from 1617, we end up with 152.
Include the next digit (7) from the dividend after 152, then repeat: 1527 / 293

Let's proceed to step 8:
The number 293 fits into 1527 5 times, leaving a remainder of 62.
Record the quotient 5 as the next digit in the result. 
Result so far: 137155.0
Deduct 1465 from 1527 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Going ahead to step 9:
620 divided by 293 is 2 with a remainder of 34.
Record the quotient 2 as the next digit in the result. 
Result so far: 137155.2
Subtracting 586 from 620 leaves us with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 10:
When dividing 340 by 293, we get 1 with a remainder of 47.
Use 1 as the next digit of our solution. 
Result so far: 137155.21
Deduct 293 from 340 and we're left with 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Going ahead to step 11:
293 goes into 470 1 times with a remainder of 177.
Put 1 as the next digit of the answer. 
Result so far: 137155.211
Subtracting 293 from 470 leaves us with 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1770, and continue the process.

The final result is 137155.211 with a remainder of 0.0177.