We divide 264012 by 40
We're looking to find how many times 40 goes into 264012.

On to step 1:
2 divided by 40 is 0 with a remainder of 2.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 40

On to step 2:
26 divided by 40 is 0 with 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.
Fetch the next digit (4) from the dividend, attach it to 26 and continue: 264 / 40

Let's proceed to step 3:
The number 40 fits into 264 6 times, leaving a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 6.0
Deduct 240 from 264 and we're left with 24.
Bring next digit (0) of the dividend behind the 24 and repeat the process: 240 / 40

Step 4:
When dividing 240 by 40, we get 6 with a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 66.0
If we take 240 away from 240, we end up with 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 40

Moving on to step 5:
40 can be fit into 1 0 times, resulting in a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 660.0
If we subtract 0 from 1, we get 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 40

Moving on to step 6:
12 divided by 40 is 0 with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 6600.0
If we subtract 0 from 12, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
When dividing 120 by 40, we get 3 with a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 6600.3
Subtracting 120 from 120 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.

Moving on to step 8:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 6600.3
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.

Step 9:
40 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 6600.3
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 quotient of the division is 6600.3, and the remainder is 0.0.