Let's divide 264864 by 40
We're looking to find how many times 40 goes into 264864.

Let's proceed to step 1:
When dividing 2 by 40, we get 0 with a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 40

Step 2:
40 can be fit into 26 0 times, resulting in a remainder of 26.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 26 after subtracting 0 from 26.
Append the next digit (4) from the dividend to 26 and continue with: 264 / 40

Advancing to step 3:
40 can be fit into 264 6 times, resulting in a remainder of 24.
The next digit of our result is 6. 
Result so far: 6.0
If we subtract 240 from 264, we get 24.
Bring next digit (8) of the dividend behind the 24 and repeat the process: 248 / 40

Step 4:
40 can be fit into 248 6 times, resulting in a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 66.0
If we take 240 away from 248, we end up with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 40

Step 5:
40 can be fit into 86 2 times, resulting in a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 662.0
The remainder is 6 after subtracting 80 from 86.
Include the next digit (4) from the dividend after 6, then repeat: 64 / 40

Going ahead to step 6:
40 goes into 64 1 times with a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 6621.0
Deduct 40 from 64 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 7:
40 can be fit into 240 6 times, resulting in a remainder of 0.
The next digit of our result is 6. 
Result so far: 6621.6
If we subtract 240 from 240, we 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.

Step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 6621.6
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.

Going ahead to step 9:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 6621.6
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.

Our division results in 6621.6 with a remaining 0.0.