Let's divide 797477 by 4
We want to divide 797477 by 4.

On to step 1:
7 divided by 4 is 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 4 from 7, we get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 4

Going ahead to step 2:
4 goes into 39 9 times with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 19.0
Deduct 36 from 39 and we're left with 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 4

Let's proceed to step 3:
When dividing 37 by 4, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 199.0
Deduct 36 from 37 and we're left with 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 4

On to step 4:
14 divided by 4 is 3 with a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 1993.0
Subtracting 12 from 14 leaves us with 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 4

Step 5:
27 divided by 4 is 6 with a remainder of 3.
Use 6 as the next digit of our solution. 
Result so far: 19936.0
If we take 24 away from 27, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 4

Step 6:
4 can be fit into 37 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 199369.0
If we take 36 away from 37, we end up 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.

Moving on to step 7:
4 goes into 10 2 times with a remainder of 2.
Write down 2 as next digit of the result. 
Result so far: 199369.2
If we subtract 8 from 10, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
4 goes into 20 5 times with a remainder of 0.
The next digit of our result is 5. 
Result so far: 199369.25
If we subtract 20 from 20, 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.

Step 9:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 199369.25
The remainder is 0 after subtracting 0 from 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 10:
0 divided by 4 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 199369.25
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.

After the division, we end up with 199369.25 and a remainder of 0.0.