We divide 40700403 by 164
We're looking to find how many times 164 goes into 40700403.

Step 1:
When dividing 4 by 164, we get 0 with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 164

On to step 2:
164 can be fit into 40 0 times, resulting in a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Include the next digit (7) from the dividend after 40, then repeat: 407 / 164

Let's proceed to step 3:
When dividing 407 by 164, we get 2 with a remainder of 79.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we subtract 328 from 407, we get 79.
Fetch the next digit (0) from the dividend, attach it to 79 and continue: 790 / 164

On to step 4:
If we divide 790 by 164, we get 4 and a remainder of 134.
Write down 4 as next digit of the result. 
Result so far: 24.0
If we take 656 away from 790, we end up with 134.
Append the next digit (0) from the dividend to 134 and continue with: 1340 / 164

Let's proceed to step 5:
1340 divided by 164 is 8 with a remainder of 28.
The next digit of our result is 8. 
Result so far: 248.0
The remainder is 28 after subtracting 1312 from 1340.
Grab the next digit (4) from the dividend, add it to 28, then carry on: 284 / 164

Let's proceed to step 6:
The number 164 fits into 284 1 times, leaving a remainder of 120.
Use 1 as the next digit of our solution. 
Result so far: 2481.0
Deduct 164 from 284 and we're left with 120.
Grab the next digit (0) from the dividend, add it to 120, then carry on: 1200 / 164

Moving on to step 7:
The number 164 fits into 1200 7 times, leaving a remainder of 52.
Put 7 as the next digit of the answer. 
Result so far: 24817.0
If we take 1148 away from 1200, we end up with 52.
Grab the next digit (3) from the dividend, add it to 52, then carry on: 523 / 164

Advancing to step 8:
The number 164 fits into 523 3 times, leaving a remainder of 31.
Record the quotient 3 as the next digit in the result. 
Result so far: 248173.0
Subtracting 492 from 523 leaves us with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 9:
If we divide 310 by 164, we get 1 and a remainder of 146.
Put 1 as the next digit of the answer. 
Result so far: 248173.1
Subtracting 164 from 310 leaves us with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Let's proceed to step 10:
The number 164 fits into 1460 8 times, leaving a remainder of 148.
The number 8 becomes the next digit in our result. 
Result so far: 248173.18
Subtracting 1312 from 1460 leaves us with 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 11:
1480 divided by 164 is 9 with a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 248173.189
If we subtract 1476 from 1480, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 12:
40 divided by 164 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 248173.189
Subtracting 0 from 40 leaves us with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 13:
When dividing 400 by 164, we get 2 with a remainder of 72.
Put 2 as the next digit of the answer. 
Result so far: 248173.18902
Subtracting 328 from 400 leaves us with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 14:
If we divide 720 by 164, we get 4 and a remainder of 64.
Record the quotient 4 as the next digit in the result. 
Result so far: 248173.189024
Subtract 656 from 720 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Step 15:
164 can be fit into 640 3 times, resulting in a remainder of 148.
Record the quotient 3 as the next digit in the result. 
Result so far: 248173.1890243
If we subtract 492 from 640, 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.

Step 16:
164 can be fit into 1480 9 times, resulting in a remainder of 4.
Put 9 as the next digit of the answer. 
Result so far: 248173.18902439
The remainder is 4 after subtracting 1476 from 1480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final result is 248173.18902439 with a remainder of 4e-09.