We look at the division of 4217988 by 799 
Our goal is to divide 4217988 by 799.

On to step 1:
4 divided by 799 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Bring next digit (2) of the dividend behind the 4 and repeat the process: 42 / 799

Step 2:
42 divided by 799 is 0 with a remainder of 42.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 42, we get 42.
Grab the next digit (1) from the dividend, add it to 42, then carry on: 421 / 799

Step 3:
When dividing 421 by 799, we get 0 with a remainder of 421.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 421 to get 421.
Fetch the next digit (7) from the dividend, attach it to 421 and continue: 4217 / 799

On to step 4:
799 can be fit into 4217 5 times, resulting in a remainder of 222.
Write down 5 as next digit of the result. 
Result so far: 5.0
Subtracting 3995 from 4217 leaves us with 222.
Include the next digit (9) from the dividend after 222, then repeat: 2229 / 799

Advancing to step 5:
2229 divided by 799 is 2 with a remainder of 631.
The next digit of our result is 2. 
Result so far: 52.0
If we subtract 1598 from 2229, we get 631.
Include the next digit (8) from the dividend after 631, then repeat: 6318 / 799

On to step 6:
6318 divided by 799 is 7 with a remainder of 725.
Write down 7 as next digit of the result. 
Result so far: 527.0
If we take 5593 away from 6318, we end up with 725.
Bring next digit (8) of the dividend behind the 725 and repeat the process: 7258 / 799

Going ahead to step 7:
The number 799 fits into 7258 9 times, leaving a remainder of 67.
Put 9 as the next digit of the answer. 
Result so far: 5279.0
Deduct 7191 from 7258 and we're left with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

On to step 8:
When dividing 670 by 799, we get 0 with a remainder of 670.
The next digit of our result is 0. 
Result so far: 5279.0
Deduct 0 from 670 and we're left with 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Going ahead to step 9:
799 goes into 6700 8 times with a remainder of 308.
Use 8 as the next digit of our solution. 
Result so far: 5279.08
If we subtract 6392 from 6700, we get 308.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3080, and continue the process.

Moving on to step 10:
799 goes into 3080 3 times with a remainder of 683.
The next digit of our result is 3. 
Result so far: 5279.083
If we take 2397 away from 3080, we end up with 683.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6830, and continue the process.

Step 11:
799 goes into 6830 8 times with a remainder of 438.
Record the quotient 8 as the next digit in the result. 
Result so far: 5279.0838
The remainder is 438 after subtracting 6392 from 6830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4380, and continue the process.

Moving on to step 12:
If we divide 4380 by 799, we get 5 and a remainder of 385.
Use 5 as the next digit of our solution. 
Result so far: 5279.08385
Subtracting 3995 from 4380 leaves us with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Step 13:
799 can be fit into 3850 4 times, resulting in a remainder of 654.
The number 4 becomes the next digit in our result. 
Result so far: 5279.083854
The remainder is 654 after subtracting 3196 from 3850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6540, and continue the process.

Advancing to step 14:
If we divide 6540 by 799, we get 8 and a remainder of 148.
Put 8 as the next digit of the answer. 
Result so far: 5279.0838548
Subtracting 6392 from 6540 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 15:
When dividing 1480 by 799, we get 1 with a remainder of 681.
Put 1 as the next digit of the answer. 
Result so far: 5279.08385481
The remainder is 681 after subtracting 799 from 1480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6810, and continue the process.

In conclusion, the division gives 5279.08385481 with a balance of 6.81e-07.