We divide 798477 by 2
Our goal is to divide 798477 by 2.

Let's proceed to step 1:
2 goes into 7 3 times with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 6 from 7 leaves us with 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 2

Going ahead to step 2:
19 divided by 2 is 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtracting 18 from 19 leaves us with 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 2

Step 3:
If we divide 18 by 2, we get 9 and a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 399.0
The remainder is 0 after subtracting 18 from 18.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 2

Advancing to step 4:
4 divided by 2 is 2 with a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 3992.0
Deduct 4 from 4 and we're left with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 2

On to step 5:
2 goes into 7 3 times with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 39923.0
If we take 6 away from 7, we end up with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 2

Going ahead to step 6:
When dividing 17 by 2, we get 8 with a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 399238.0
Deduct 16 from 17 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 7:
2 goes into 10 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 399238.5
Subtracting 10 from 10 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 399238.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
0 divided by 2 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 399238.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 399238.5, and the remainder is 0.0.