We look at the division of 50064790 by 798 
Our goal is to divide 50064790 by 798.

Going ahead to step 1:
5 divided by 798 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 798

On to step 2:
When dividing 50 by 798, we get 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Take the next digit (0) from the dividend and append it to 50, then repeat: 500 / 798

On to step 3:
798 goes into 500 0 times with a remainder of 500.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 500 and we're left with 500.
Append the next digit (6) from the dividend to 500 and continue with: 5006 / 798

On to step 4:
798 goes into 5006 6 times with a remainder of 218.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 4788 from 5006 and we're left with 218.
Bring next digit (4) of the dividend behind the 218 and repeat the process: 2184 / 798

On to step 5:
If we divide 2184 by 798, we get 2 and a remainder of 588.
Use 2 as the next digit of our solution. 
Result so far: 62.0
If we take 1596 away from 2184, we end up with 588.
Append the next digit (7) from the dividend to 588 and continue with: 5887 / 798

Going ahead to step 6:
798 goes into 5887 7 times with a remainder of 301.
Write down 7 as next digit of the result. 
Result so far: 627.0
The remainder is 301 after subtracting 5586 from 5887.
Grab the next digit (9) from the dividend, add it to 301, then carry on: 3019 / 798

Step 7:
The number 798 fits into 3019 3 times, leaving a remainder of 625.
Use 3 as the next digit of our solution. 
Result so far: 6273.0
Subtracting 2394 from 3019 leaves us with 625.
Bring next digit (0) of the dividend behind the 625 and repeat the process: 6250 / 798

Let's proceed to step 8:
When dividing 6250 by 798, we get 7 with a remainder of 664.
Write down 7 as next digit of the result. 
Result so far: 62737.0
If we take 5586 away from 6250, we end up with 664.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

Step 9:
When dividing 6640 by 798, we get 8 with a remainder of 256.
The number 8 becomes the next digit in our result. 
Result so far: 62737.8
The remainder is 256 after subtracting 6384 from 6640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2560, and continue the process.

Let's proceed to step 10:
798 goes into 2560 3 times with a remainder of 166.
Put 3 as the next digit of the answer. 
Result so far: 62737.83
Subtracting 2394 from 2560 leaves us with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Step 11:
798 goes into 1660 2 times with a remainder of 64.
Put 2 as the next digit of the answer. 
Result so far: 62737.832
Subtract 1596 from 1660 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.

Advancing to step 12:
If we divide 640 by 798, we get 0 and a remainder of 640.
Record the quotient 0 as the next digit in the result. 
Result so far: 62737.832
Subtract 0 from 640 to get 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6400, and continue the process.

Let's proceed to step 13:
If we divide 6400 by 798, we get 8 and a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 62737.83208
The remainder is 16 after subtracting 6384 from 6400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 14:
798 can be fit into 160 0 times, resulting in a remainder of 160.
The number 0 becomes the next digit in our result. 
Result so far: 62737.83208
If we take 0 away from 160, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Advancing to step 15:
1600 divided by 798 is 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 62737.8320802
If we subtract 1596 from 1600, 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.

Let's proceed to step 16:
If we divide 40 by 798, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 62737.8320802
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The final result is 62737.8320802 with a remainder of 4e-08.