40316718 divided by 264 
We want to figure out the number of times 40316718 can be divided by 264.

On to step 1:
264 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 subtract 0 from 4, we get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 264

Step 2:
264 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 264

Step 3:
When dividing 403 by 264, we get 1 with a remainder of 139.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 264 from 403 to get 139.
Append the next digit (1) from the dividend to 139 and continue with: 1391 / 264

Going ahead to step 4:
When dividing 1391 by 264, we get 5 with a remainder of 71.
Put 5 as the next digit of the answer. 
Result so far: 15.0
The remainder is 71 after subtracting 1320 from 1391.
Grab the next digit (6) from the dividend, add it to 71, then carry on: 716 / 264

Let's proceed to step 5:
If we divide 716 by 264, we get 2 and a remainder of 188.
Put 2 as the next digit of the answer. 
Result so far: 152.0
Deduct 528 from 716 and we're left with 188.
Include the next digit (7) from the dividend after 188, then repeat: 1887 / 264

On to step 6:
264 goes into 1887 7 times with a remainder of 39.
The next digit of our result is 7. 
Result so far: 1527.0
Deduct 1848 from 1887 and we're left with 39.
Bring next digit (1) of the dividend behind the 39 and repeat the process: 391 / 264

Step 7:
391 divided by 264 is 1 with a remainder of 127.
Use 1 as the next digit of our solution. 
Result so far: 15271.0
The remainder is 127 after subtracting 264 from 391.
Fetch the next digit (8) from the dividend, attach it to 127 and continue: 1278 / 264

Advancing to step 8:
When dividing 1278 by 264, we get 4 with a remainder of 222.
Write down 4 as next digit of the result. 
Result so far: 152714.0
If we subtract 1056 from 1278, we get 222.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2220, and continue the process.

Moving on to step 9:
If we divide 2220 by 264, we get 8 and a remainder of 108.
Record the quotient 8 as the next digit in the result. 
Result so far: 152714.8
Subtracting 2112 from 2220 leaves us with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Going ahead to step 10:
When dividing 1080 by 264, we get 4 with a remainder of 24.
The next digit of our result is 4. 
Result so far: 152714.84
Subtracting 1056 from 1080 leaves us 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.

Going ahead to step 11:
When dividing 240 by 264, we get 0 with a remainder of 240.
Record the quotient 0 as the next digit in the result. 
Result so far: 152714.84
The remainder is 240 after subtracting 0 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

On to step 12:
264 goes into 2400 9 times with a remainder of 24.
The next digit of our result is 9. 
Result so far: 152714.8409
If we take 2376 away from 2400, we end up 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.

Going ahead to step 13:
264 goes into 240 0 times with a remainder of 240.
Write down 0 as next digit of the result. 
Result so far: 152714.8409
Subtract 0 from 240 to get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

On to step 14:
When dividing 2400 by 264, we get 9 with a remainder of 24.
Write down 9 as next digit of the result. 
Result so far: 152714.840909
If we take 2376 away from 2400, we end up 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.

Step 15:
When dividing 240 by 264, we get 0 with a remainder of 240.
Put 0 as the next digit of the answer. 
Result so far: 152714.840909
If we subtract 0 from 240, we get 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Moving on to step 16:
If we divide 2400 by 264, we get 9 and a remainder of 24.
Record the quotient 9 as the next digit in the result. 
Result so far: 152714.84090909
If we take 2376 away from 2400, we end up 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.

After the division, we end up with 152714.84090909 and a remainder of 2.4e-08.