We look at the division of 40071211 by 118 
Our goal is to divide 40071211 by 118.

On to step 1:
118 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 118

Moving on to step 2:
118 goes into 40 0 times with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 118

Going ahead to step 3:
118 can be fit into 400 3 times, resulting in a remainder of 46.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Deduct 354 from 400 and we're left with 46.
Append the next digit (7) from the dividend to 46 and continue with: 467 / 118

On to step 4:
118 goes into 467 3 times with a remainder of 113.
Write down 3 as next digit of the result. 
Result so far: 33.0
If we subtract 354 from 467, we get 113.
Take the next digit (1) from the dividend and append it to 113, then repeat: 1131 / 118

On to step 5:
If we divide 1131 by 118, we get 9 and a remainder of 69.
Use 9 as the next digit of our solution. 
Result so far: 339.0
Deduct 1062 from 1131 and we're left with 69.
Take the next digit (2) from the dividend and append it to 69, then repeat: 692 / 118

Step 6:
When dividing 692 by 118, we get 5 with a remainder of 102.
Put 5 as the next digit of the answer. 
Result so far: 3395.0
The remainder is 102 after subtracting 590 from 692.
Grab the next digit (1) from the dividend, add it to 102, then carry on: 1021 / 118

Step 7:
If we divide 1021 by 118, we get 8 and a remainder of 77.
The number 8 becomes the next digit in our result. 
Result so far: 33958.0
If we take 944 away from 1021, we end up with 77.
Append the next digit (1) from the dividend to 77 and continue with: 771 / 118

Advancing to step 8:
771 divided by 118 is 6 with a remainder of 63.
The next digit of our result is 6. 
Result so far: 339586.0
If we subtract 708 from 771, we get 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Moving on to step 9:
When dividing 630 by 118, we get 5 with a remainder of 40.
Record the quotient 5 as the next digit in the result. 
Result so far: 339586.5
Subtract 590 from 630 to 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.

Let's proceed to step 10:
When dividing 400 by 118, we get 3 with a remainder of 46.
Write down 3 as next digit of the result. 
Result so far: 339586.53
If we take 354 away from 400, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Going ahead to step 11:
The number 118 fits into 460 3 times, leaving a remainder of 106.
Use 3 as the next digit of our solution. 
Result so far: 339586.533
Subtract 354 from 460 to get 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 339586.533 with a remainder of 0.0106.