796976 ÷ 45 
We want to divide 796976 by 45.

On to step 1:
The number 45 fits into 7 0 times, leaving a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 45

Going ahead to step 2:
45 can be fit into 79 1 times, resulting in a remainder of 34.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 34 after subtracting 45 from 79.
Append the next digit (6) from the dividend to 34 and continue with: 346 / 45

Going ahead to step 3:
The number 45 fits into 346 7 times, leaving a remainder of 31.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Subtract 315 from 346 to get 31.
Grab the next digit (9) from the dividend, add it to 31, then carry on: 319 / 45

Advancing to step 4:
319 divided by 45 is 7 with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 177.0
The remainder is 4 after subtracting 315 from 319.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 45

Advancing to step 5:
When dividing 47 by 45, we get 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1771.0
Subtract 45 from 47 to get 2.
Include the next digit (6) from the dividend after 2, then repeat: 26 / 45

Step 6:
The number 45 fits into 26 0 times, leaving a remainder of 26.
Record the quotient 0 as the next digit in the result. 
Result so far: 17710.0
Subtract 0 from 26 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 7:
When dividing 260 by 45, we get 5 with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 17710.5
If we subtract 225 from 260, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Let's proceed to step 8:
The number 45 fits into 350 7 times, leaving a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 17710.57
If we subtract 315 from 350, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 9:
45 can be fit into 350 7 times, resulting in a remainder of 35.
Put 7 as the next digit of the answer. 
Result so far: 17710.577
Subtract 315 from 350 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Our division results in 17710.577 with a remaining 0.0035.