We look at the division of 266406 by 40 
We're looking to find how many times 40 goes into 266406.

Step 1:
40 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 40

On to step 2:
When dividing 26 by 40, we get 0 with a remainder of 26.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 26, we end up with 26.
Fetch the next digit (6) from the dividend, attach it to 26 and continue: 266 / 40

Step 3:
If we divide 266 by 40, we get 6 and a remainder of 26.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
The remainder is 26 after subtracting 240 from 266.
Include the next digit (4) from the dividend after 26, then repeat: 264 / 40

Advancing to step 4:
40 goes into 264 6 times with a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 66.0
If we take 240 away from 264, we end up with 24.
Bring next digit (0) of the dividend behind the 24 and repeat the process: 240 / 40

Going ahead to step 5:
When dividing 240 by 40, we get 6 with a remainder of 0.
Put 6 as the next digit of the answer. 
Result so far: 666.0
Subtracting 240 from 240 leaves us with 0.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 40

Advancing to step 6:
6 divided by 40 is 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 6660.0
Deduct 0 from 6 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
40 can be fit into 60 1 times, resulting in a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 6660.1
If we take 40 away from 60, we end up 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.

Going ahead to step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 6660.15
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 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 6660.15
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 6660.15
Subtracting 0 from 0 leaves us 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.

The final result is 6660.15 with a remainder of 0.0.