We're dividing 798158 by 1 
Let's see how many times 1 fits into 798158.

Going ahead to step 1:
1 can be fit into 7 7 times, resulting in a remainder of 0.
The next digit of our result is 7. 
Result so far: 7.0
If we take 7 away from 7, we end up with 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 1

Step 2:
1 can be fit into 9 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 79.0
If we subtract 9 from 9, we get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 1

Step 3:
1 goes into 8 8 times with a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 798.0
Subtract 8 from 8 to get 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 1

Going ahead to step 4:
The number 1 fits into 1 1 times, leaving a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 7981.0
Deduct 1 from 1 and we're left with 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 1

Advancing to step 5:
When dividing 5 by 1, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 79815.0
Subtracting 5 from 5 leaves us with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 1

Moving on to step 6:
8 divided by 1 is 8 with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 798158.0
Deduct 8 from 8 and we're left 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.

Moving on to step 7:
0 divided by 1 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 798158.0
Subtract 0 from 0 to 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.

Advancing to step 8:
1 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 798158.0
Deduct 0 from 0 and we're left 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 798158.0, and the remainder is 0.0.