40474417 divided by 299 
We want to figure out the number of times 40474417 can be divided by 299.

Moving on to step 1:
4 divided by 299 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 299

Advancing to step 2:
299 can be fit into 40 0 times, resulting in a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (4) from the dividend, add it to 40, then carry on: 404 / 299

On to step 3:
299 can be fit into 404 1 times, resulting in a remainder of 105.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 105 after subtracting 299 from 404.
Include the next digit (7) from the dividend after 105, then repeat: 1057 / 299

On to step 4:
The number 299 fits into 1057 3 times, leaving a remainder of 160.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we take 897 away from 1057, we end up with 160.
Include the next digit (4) from the dividend after 160, then repeat: 1604 / 299

Going ahead to step 5:
The number 299 fits into 1604 5 times, leaving a remainder of 109.
Put 5 as the next digit of the answer. 
Result so far: 135.0
Deduct 1495 from 1604 and we're left with 109.
Append the next digit (4) from the dividend to 109 and continue with: 1094 / 299

Going ahead to step 6:
1094 divided by 299 is 3 with a remainder of 197.
The number 3 becomes the next digit in our result. 
Result so far: 1353.0
Subtracting 897 from 1094 leaves us with 197.
Grab the next digit (1) from the dividend, add it to 197, then carry on: 1971 / 299

Let's proceed to step 7:
The number 299 fits into 1971 6 times, leaving a remainder of 177.
The number 6 becomes the next digit in our result. 
Result so far: 13536.0
If we take 1794 away from 1971, we end up with 177.
Fetch the next digit (7) from the dividend, attach it to 177 and continue: 1777 / 299

Going ahead to step 8:
When dividing 1777 by 299, we get 5 with a remainder of 282.
The next digit of our result is 5. 
Result so far: 135365.0
Deduct 1495 from 1777 and we're left with 282.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2820, and continue the process.

On to step 9:
299 goes into 2820 9 times with a remainder of 129.
Write down 9 as next digit of the result. 
Result so far: 135365.9
Deduct 2691 from 2820 and we're left with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Let's proceed to step 10:
The number 299 fits into 1290 4 times, leaving a remainder of 94.
The number 4 becomes the next digit in our result. 
Result so far: 135365.94
Subtracting 1196 from 1290 leaves us with 94.
Since there are no more digits in the dividend, we add a zero to the remainder making it 940, and continue the process.

Step 11:
The number 299 fits into 940 3 times, leaving a remainder of 43.
Record the quotient 3 as the next digit in the result. 
Result so far: 135365.943
If we subtract 897 from 940, we get 43.
Since there are no more digits in the dividend, we add a zero to the remainder making it 430, and continue the process.

Advancing to step 12:
299 goes into 430 1 times with a remainder of 131.
Use 1 as the next digit of our solution. 
Result so far: 135365.9431
If we subtract 299 from 430, we get 131.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1310, and continue the process.

Advancing to step 13:
If we divide 1310 by 299, we get 4 and a remainder of 114.
Put 4 as the next digit of the answer. 
Result so far: 135365.94314
Deduct 1196 from 1310 and we're left with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Step 14:
When dividing 1140 by 299, we get 3 with a remainder of 243.
Write down 3 as next digit of the result. 
Result so far: 135365.943143
Subtracting 897 from 1140 leaves us with 243.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2430, and continue the process.

Advancing to step 15:
2430 divided by 299 is 8 with a remainder of 38.
Put 8 as the next digit of the answer. 
Result so far: 135365.9431438
If we subtract 2392 from 2430, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 16:
When dividing 380 by 299, we get 1 with a remainder of 81.
Use 1 as the next digit of our solution. 
Result so far: 135365.94314381
Subtract 299 from 380 to get 81.
Since there are no more digits in the dividend, we add a zero to the remainder making it 810, and continue the process.

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