40221846 ÷ 179 
Our goal is to divide 40221846 by 179.

Going ahead to step 1:
If we divide 4 by 179, we get 0 and a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 179

Advancing to step 2:
The number 179 fits into 40 0 times, leaving a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Append the next digit (2) from the dividend to 40 and continue with: 402 / 179

Advancing to step 3:
The number 179 fits into 402 2 times, leaving a remainder of 44.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 358 away from 402, we end up with 44.
Take the next digit (2) from the dividend and append it to 44, then repeat: 442 / 179

Advancing to step 4:
When dividing 442 by 179, we get 2 with a remainder of 84.
Put 2 as the next digit of the answer. 
Result so far: 22.0
If we subtract 358 from 442, we get 84.
Bring next digit (1) of the dividend behind the 84 and repeat the process: 841 / 179

Let's proceed to step 5:
When dividing 841 by 179, we get 4 with a remainder of 125.
The next digit of our result is 4. 
Result so far: 224.0
If we take 716 away from 841, we end up with 125.
Grab the next digit (8) from the dividend, add it to 125, then carry on: 1258 / 179

On to step 6:
179 can be fit into 1258 7 times, resulting in a remainder of 5.
Write down 7 as next digit of the result. 
Result so far: 2247.0
Deduct 1253 from 1258 and we're left with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 179

Going ahead to step 7:
179 can be fit into 54 0 times, resulting in a remainder of 54.
Write down 0 as next digit of the result. 
Result so far: 22470.0
If we take 0 away from 54, we end up with 54.
Fetch the next digit (6) from the dividend, attach it to 54 and continue: 546 / 179

Let's proceed to step 8:
546 divided by 179 is 3 with a remainder of 9.
Record the quotient 3 as the next digit in the result. 
Result so far: 224703.0
The remainder is 9 after subtracting 537 from 546.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 9:
90 divided by 179 is 0 with a remainder of 90.
Put 0 as the next digit of the answer. 
Result so far: 224703.0
Subtracting 0 from 90 leaves us with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Moving on to step 10:
The number 179 fits into 900 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 224703.05
The remainder is 5 after subtracting 895 from 900.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 11:
If we divide 50 by 179, we get 0 and a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 224703.05
The remainder is 50 after subtracting 0 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 12:
179 can be fit into 500 2 times, resulting in a remainder of 142.
Record the quotient 2 as the next digit in the result. 
Result so far: 224703.0502
Deduct 358 from 500 and we're left with 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Going ahead to step 13:
179 goes into 1420 7 times with a remainder of 167.
The number 7 becomes the next digit in our result. 
Result so far: 224703.05027
If we subtract 1253 from 1420, we get 167.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1670, and continue the process.

Step 14:
179 can be fit into 1670 9 times, resulting in a remainder of 59.
Write down 9 as next digit of the result. 
Result so far: 224703.050279
Subtracting 1611 from 1670 leaves us with 59.
Since there are no more digits in the dividend, we add a zero to the remainder making it 590, and continue the process.

Moving on to step 15:
The number 179 fits into 590 3 times, leaving a remainder of 53.
Record the quotient 3 as the next digit in the result. 
Result so far: 224703.0502793
Subtracting 537 from 590 leaves us with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

On to step 16:
530 divided by 179 is 2 with a remainder of 172.
The next digit of our result is 2. 
Result so far: 224703.05027932
Subtracting 358 from 530 leaves us with 172.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1720, and continue the process.

Our division results in 224703.05027932 with a remaining 1.72e-07.