We look at the division of 40435750 by 127 
We want to divide 40435750 by 127.

Advancing to step 1:
4 divided by 127 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 127

On to step 2:
127 goes into 40 0 times with 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.
Append the next digit (4) from the dividend to 40 and continue with: 404 / 127

Going ahead to step 3:
404 divided by 127 is 3 with a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 381 from 404 and we're left with 23.
Fetch the next digit (3) from the dividend, attach it to 23 and continue: 233 / 127

Step 4:
When dividing 233 by 127, we get 1 with a remainder of 106.
Use 1 as the next digit of our solution. 
Result so far: 31.0
Deduct 127 from 233 and we're left with 106.
Bring next digit (5) of the dividend behind the 106 and repeat the process: 1065 / 127

Step 5:
If we divide 1065 by 127, we get 8 and a remainder of 49.
Use 8 as the next digit of our solution. 
Result so far: 318.0
Deduct 1016 from 1065 and we're left with 49.
Take the next digit (7) from the dividend and append it to 49, then repeat: 497 / 127

Advancing to step 6:
If we divide 497 by 127, we get 3 and a remainder of 116.
Use 3 as the next digit of our solution. 
Result so far: 3183.0
Subtracting 381 from 497 leaves us with 116.
Include the next digit (5) from the dividend after 116, then repeat: 1165 / 127

On to step 7:
127 can be fit into 1165 9 times, resulting in a remainder of 22.
Write down 9 as next digit of the result. 
Result so far: 31839.0
Subtracting 1143 from 1165 leaves us with 22.
Append the next digit (0) from the dividend to 22 and continue with: 220 / 127

Step 8:
When dividing 220 by 127, we get 1 with a remainder of 93.
Use 1 as the next digit of our solution. 
Result so far: 318391.0
If we subtract 127 from 220, we get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Moving on to step 9:
127 goes into 930 7 times with a remainder of 41.
The next digit of our result is 7. 
Result so far: 318391.7
Subtracting 889 from 930 leaves us with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 10:
127 goes into 410 3 times with a remainder of 29.
Record the quotient 3 as the next digit in the result. 
Result so far: 318391.73
Subtracting 381 from 410 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 11:
If we divide 290 by 127, we get 2 and a remainder of 36.
Put 2 as the next digit of the answer. 
Result so far: 318391.732
Subtract 254 from 290 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 12:
127 goes into 360 2 times with a remainder of 106.
The next digit of our result is 2. 
Result so far: 318391.7322
If we take 254 away from 360, we end up 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.

The final result is 318391.7322 with a remainder of 0.00106.