40188987 divided by 179 
We're looking to find how many times 179 goes into 40188987.

Step 1:
4 divided by 179 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.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 179

On to step 2:
When dividing 40 by 179, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Take the next digit (1) from the dividend and append it to 40, then repeat: 401 / 179

Going ahead to step 3:
179 goes into 401 2 times with a remainder of 43.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtract 358 from 401 to get 43.
Take the next digit (8) from the dividend and append it to 43, then repeat: 438 / 179

Advancing to step 4:
438 divided by 179 is 2 with a remainder of 80.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtract 358 from 438 to get 80.
Bring next digit (8) of the dividend behind the 80 and repeat the process: 808 / 179

Moving on to step 5:
The number 179 fits into 808 4 times, leaving a remainder of 92.
Write down 4 as next digit of the result. 
Result so far: 224.0
Deduct 716 from 808 and we're left with 92.
Append the next digit (9) from the dividend to 92 and continue with: 929 / 179

On to step 6:
179 goes into 929 5 times with a remainder of 34.
Use 5 as the next digit of our solution. 
Result so far: 2245.0
Deduct 895 from 929 and we're left with 34.
Bring next digit (8) of the dividend behind the 34 and repeat the process: 348 / 179

Step 7:
179 goes into 348 1 times with a remainder of 169.
The next digit of our result is 1. 
Result so far: 22451.0
If we take 179 away from 348, we end up with 169.
Fetch the next digit (7) from the dividend, attach it to 169 and continue: 1697 / 179

Step 8:
When dividing 1697 by 179, we get 9 with a remainder of 86.
The next digit of our result is 9. 
Result so far: 224519.0
Subtracting 1611 from 1697 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Going ahead to step 9:
860 divided by 179 is 4 with a remainder of 144.
Write down 4 as next digit of the result. 
Result so far: 224519.4
Deduct 716 from 860 and we're left with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Going ahead to step 10:
The number 179 fits into 1440 8 times, leaving a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 224519.48
The remainder is 8 after subtracting 1432 from 1440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 11:
80 divided by 179 is 0 with a remainder of 80.
Put 0 as the next digit of the answer. 
Result so far: 224519.48
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 12:
The number 179 fits into 800 4 times, leaving a remainder of 84.
Put 4 as the next digit of the answer. 
Result so far: 224519.4804
The remainder is 84 after subtracting 716 from 800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

Advancing to step 13:
179 goes into 840 4 times with a remainder of 124.
The next digit of our result is 4. 
Result so far: 224519.48044
Subtracting 716 from 840 leaves us with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Our division results in 224519.48044 with a remaining 0.000124.