Let's divide 40366211 by 319
We want to figure out the number of times 40366211 can be divided by 319.

Going ahead to step 1:
The number 319 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 319

Advancing to step 2:
The number 319 fits into 40 0 times, leaving a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Bring next digit (3) of the dividend behind the 40 and repeat the process: 403 / 319

Advancing to step 3:
If we divide 403 by 319, we get 1 and a remainder of 84.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 319 from 403 to get 84.
Take the next digit (6) from the dividend and append it to 84, then repeat: 846 / 319

Step 4:
If we divide 846 by 319, we get 2 and a remainder of 208.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 638 from 846 leaves us with 208.
Grab the next digit (6) from the dividend, add it to 208, then carry on: 2086 / 319

Going ahead to step 5:
The number 319 fits into 2086 6 times, leaving a remainder of 172.
The number 6 becomes the next digit in our result. 
Result so far: 126.0
Subtract 1914 from 2086 to get 172.
Bring next digit (2) of the dividend behind the 172 and repeat the process: 1722 / 319

Let's proceed to step 6:
319 goes into 1722 5 times with a remainder of 127.
Use 5 as the next digit of our solution. 
Result so far: 1265.0
If we subtract 1595 from 1722, we get 127.
Include the next digit (1) from the dividend after 127, then repeat: 1271 / 319

Moving on to step 7:
319 goes into 1271 3 times with a remainder of 314.
Write down 3 as next digit of the result. 
Result so far: 12653.0
Subtracting 957 from 1271 leaves us with 314.
Fetch the next digit (1) from the dividend, attach it to 314 and continue: 3141 / 319

Moving on to step 8:
3141 divided by 319 is 9 with a remainder of 270.
The number 9 becomes the next digit in our result. 
Result so far: 126539.0
Subtract 2871 from 3141 to get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Moving on to step 9:
When dividing 2700 by 319, we get 8 with a remainder of 148.
Record the quotient 8 as the next digit in the result. 
Result so far: 126539.8
If we subtract 2552 from 2700, we get 148.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1480, and continue the process.

On to step 10:
When dividing 1480 by 319, we get 4 with a remainder of 204.
The next digit of our result is 4. 
Result so far: 126539.84
Deduct 1276 from 1480 and we're left with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

On to step 11:
319 can be fit into 2040 6 times, resulting in a remainder of 126.
Record the quotient 6 as the next digit in the result. 
Result so far: 126539.846
Subtracting 1914 from 2040 leaves us with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

Let's proceed to step 12:
If we divide 1260 by 319, we get 3 and a remainder of 303.
Put 3 as the next digit of the answer. 
Result so far: 126539.8463
The remainder is 303 after subtracting 957 from 1260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

Step 13:
When dividing 3030 by 319, we get 9 with a remainder of 159.
Use 9 as the next digit of our solution. 
Result so far: 126539.84639
If we take 2871 away from 3030, we end up with 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Going ahead to step 14:
If we divide 1590 by 319, we get 4 and a remainder of 314.
Put 4 as the next digit of the answer. 
Result so far: 126539.846394
Deduct 1276 from 1590 and we're left with 314.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3140, and continue the process.

Let's proceed to step 15:
When dividing 3140 by 319, we get 9 with a remainder of 269.
Record the quotient 9 as the next digit in the result. 
Result so far: 126539.8463949
Subtract 2871 from 3140 to get 269.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2690, and continue the process.

Going ahead to step 16:
When dividing 2690 by 319, we get 8 with a remainder of 138.
The next digit of our result is 8. 
Result so far: 126539.84639498
The remainder is 138 after subtracting 2552 from 2690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

After the division, we end up with 126539.84639498 and a remainder of 1.38e-07.