We divide 40022264 by 395
Let's see how many times 395 fits into 40022264.

Let's proceed to step 1:
When dividing 4 by 395, we get 0 with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 395

Advancing to step 2:
When dividing 40 by 395, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Fetch the next digit (0) from the dividend, attach it to 40 and continue: 400 / 395

Step 3:
395 can be fit into 400 1 times, resulting in a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 395 away from 400, we end up with 5.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 395

Moving on to step 4:
If we divide 52 by 395, we get 0 and a remainder of 52.
Put 0 as the next digit of the answer. 
Result so far: 10.0
The remainder is 52 after subtracting 0 from 52.
Grab the next digit (2) from the dividend, add it to 52, then carry on: 522 / 395

On to step 5:
522 divided by 395 is 1 with a remainder of 127.
The next digit of our result is 1. 
Result so far: 101.0
Deduct 395 from 522 and we're left with 127.
Take the next digit (2) from the dividend and append it to 127, then repeat: 1272 / 395

Advancing to step 6:
The number 395 fits into 1272 3 times, leaving a remainder of 87.
The number 3 becomes the next digit in our result. 
Result so far: 1013.0
If we subtract 1185 from 1272, we get 87.
Bring next digit (6) of the dividend behind the 87 and repeat the process: 876 / 395

Advancing to step 7:
876 divided by 395 is 2 with a remainder of 86.
The number 2 becomes the next digit in our result. 
Result so far: 10132.0
If we subtract 790 from 876, we get 86.
Fetch the next digit (4) from the dividend, attach it to 86 and continue: 864 / 395

On to step 8:
864 divided by 395 is 2 with a remainder of 74.
Record the quotient 2 as the next digit in the result. 
Result so far: 101322.0
The remainder is 74 after subtracting 790 from 864.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 9:
When dividing 740 by 395, we get 1 with a remainder of 345.
Put 1 as the next digit of the answer. 
Result so far: 101322.1
Deduct 395 from 740 and we're left with 345.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3450, and continue the process.

On to step 10:
When dividing 3450 by 395, we get 8 with a remainder of 290.
The number 8 becomes the next digit in our result. 
Result so far: 101322.18
Subtract 3160 from 3450 to get 290.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2900, and continue the process.

Let's proceed to step 11:
When dividing 2900 by 395, we get 7 with a remainder of 135.
Record the quotient 7 as the next digit in the result. 
Result so far: 101322.187
Deduct 2765 from 2900 and we're left with 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Step 12:
395 can be fit into 1350 3 times, resulting in a remainder of 165.
Put 3 as the next digit of the answer. 
Result so far: 101322.1873
If we take 1185 away from 1350, we end up with 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

On to step 13:
395 can be fit into 1650 4 times, resulting in a remainder of 70.
The next digit of our result is 4. 
Result so far: 101322.18734
If we subtract 1580 from 1650, we get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 14:
When dividing 700 by 395, we get 1 with a remainder of 305.
Record the quotient 1 as the next digit in the result. 
Result so far: 101322.187341
The remainder is 305 after subtracting 395 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3050, and continue the process.

Let's proceed to step 15:
395 can be fit into 3050 7 times, resulting in a remainder of 285.
The number 7 becomes the next digit in our result. 
Result so far: 101322.1873417
If we take 2765 away from 3050, we end up with 285.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2850, and continue the process.

On to step 16:
When dividing 2850 by 395, we get 7 with a remainder of 85.
The next digit of our result is 7. 
Result so far: 101322.18734177
Subtract 2765 from 2850 to get 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

The quotient of the division is 101322.18734177, and the remainder is 8.5e-08.