We divide 40184799 by 798
We're looking to find how many times 798 goes into 40184799.

On to step 1:
798 can be fit into 4 0 times, resulting in a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 798

Moving on to step 2:
The number 798 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 40 and we're left with 40.
Grab the next digit (1) from the dividend, add it to 40, then carry on: 401 / 798

Step 3:
When dividing 401 by 798, we get 0 with a remainder of 401.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 401, we end up with 401.
Include the next digit (8) from the dividend after 401, then repeat: 4018 / 798

Let's proceed to step 4:
798 can be fit into 4018 5 times, resulting in a remainder of 28.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 3990 from 4018 to get 28.
Bring next digit (4) of the dividend behind the 28 and repeat the process: 284 / 798

Going ahead to step 5:
If we divide 284 by 798, we get 0 and a remainder of 284.
Write down 0 as next digit of the result. 
Result so far: 50.0
If we subtract 0 from 284, we get 284.
Grab the next digit (7) from the dividend, add it to 284, then carry on: 2847 / 798

Advancing to step 6:
If we divide 2847 by 798, we get 3 and a remainder of 453.
The number 3 becomes the next digit in our result. 
Result so far: 503.0
If we take 2394 away from 2847, we end up with 453.
Fetch the next digit (9) from the dividend, attach it to 453 and continue: 4539 / 798

Advancing to step 7:
4539 divided by 798 is 5 with a remainder of 549.
The next digit of our result is 5. 
Result so far: 5035.0
The remainder is 549 after subtracting 3990 from 4539.
Include the next digit (9) from the dividend after 549, then repeat: 5499 / 798

Advancing to step 8:
798 can be fit into 5499 6 times, resulting in a remainder of 711.
Record the quotient 6 as the next digit in the result. 
Result so far: 50356.0
Deduct 4788 from 5499 and we're left with 711.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7110, and continue the process.

Step 9:
If we divide 7110 by 798, we get 8 and a remainder of 726.
Use 8 as the next digit of our solution. 
Result so far: 50356.8
Subtract 6384 from 7110 to get 726.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7260, and continue the process.

On to step 10:
798 goes into 7260 9 times with a remainder of 78.
The next digit of our result is 9. 
Result so far: 50356.89
Subtracting 7182 from 7260 leaves us with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 11:
798 goes into 780 0 times with a remainder of 780.
The number 0 becomes the next digit in our result. 
Result so far: 50356.89
The remainder is 780 after subtracting 0 from 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

Moving on to step 12:
The number 798 fits into 7800 9 times, leaving a remainder of 618.
Record the quotient 9 as the next digit in the result. 
Result so far: 50356.8909
Deduct 7182 from 7800 and we're left with 618.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6180, and continue the process.

On to step 13:
6180 divided by 798 is 7 with a remainder of 594.
Record the quotient 7 as the next digit in the result. 
Result so far: 50356.89097
If we take 5586 away from 6180, we end up with 594.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5940, and continue the process.

Going ahead to step 14:
798 can be fit into 5940 7 times, resulting in a remainder of 354.
Put 7 as the next digit of the answer. 
Result so far: 50356.890977
Deduct 5586 from 5940 and we're left with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Our division results in 50356.890977 with a remaining 3.54e-05.