We look at the division of 266721 by 40 
Let's see how many times 40 fits into 266721.

Going ahead to step 1:
The number 40 fits into 2 0 times, leaving a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 40

Step 2:
When dividing 26 by 40, we get 0 with a remainder of 26.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 26, we end up with 26.
Include the next digit (6) from the dividend after 26, then repeat: 266 / 40

Advancing to step 3:
266 divided by 40 is 6 with a remainder of 26.
Write down 6 as next digit of the result. 
Result so far: 6.0
If we take 240 away from 266, we end up with 26.
Append the next digit (7) from the dividend to 26 and continue with: 267 / 40

Let's proceed to step 4:
The number 40 fits into 267 6 times, leaving a remainder of 27.
Write down 6 as next digit of the result. 
Result so far: 66.0
Subtract 240 from 267 to get 27.
Append the next digit (2) from the dividend to 27 and continue with: 272 / 40

Going ahead to step 5:
When dividing 272 by 40, we get 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 666.0
If we take 240 away from 272, we end up with 32.
Include the next digit (1) from the dividend after 32, then repeat: 321 / 40

Let's proceed to step 6:
When dividing 321 by 40, we get 8 with a remainder of 1.
The next digit of our result is 8. 
Result so far: 6668.0
If we subtract 320 from 321, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
The number 40 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 6668.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
40 goes into 100 2 times with a remainder of 20.
The number 2 becomes the next digit in our result. 
Result so far: 6668.02
If we subtract 80 from 100, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 6668.025
If we take 200 away from 200, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 10:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 6668.025
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 6668.025
Deduct 0 from 0 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

In conclusion, the division gives 6668.025 with a balance of 0.0.