981796 ÷ 45 
We want to figure out the number of times 981796 can be divided by 45.

Step 1:
45 can be fit into 9 0 times, resulting in a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 45

Step 2:
If we divide 98 by 45, we get 2 and a remainder of 8.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 8 after subtracting 90 from 98.
Include the next digit (1) from the dividend after 8, then repeat: 81 / 45

On to step 3:
When dividing 81 by 45, we get 1 with a remainder of 36.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtracting 45 from 81 leaves us with 36.
Bring next digit (7) of the dividend behind the 36 and repeat the process: 367 / 45

Step 4:
The number 45 fits into 367 8 times, leaving a remainder of 7.
Record the quotient 8 as the next digit in the result. 
Result so far: 218.0
Subtracting 360 from 367 leaves us with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 45

Moving on to step 5:
79 divided by 45 is 1 with a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 2181.0
The remainder is 34 after subtracting 45 from 79.
Grab the next digit (6) from the dividend, add it to 34, then carry on: 346 / 45

Advancing to step 6:
When dividing 346 by 45, we get 7 with a remainder of 31.
The next digit of our result is 7. 
Result so far: 21817.0
If we subtract 315 from 346, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

On to step 7:
310 divided by 45 is 6 with a remainder of 40.
Record the quotient 6 as the next digit in the result. 
Result so far: 21817.6
Deduct 270 from 310 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 8:
When dividing 400 by 45, we get 8 with a remainder of 40.
The next digit of our result is 8. 
Result so far: 21817.68
If we take 360 away from 400, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 9:
When dividing 400 by 45, we get 8 with a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 21817.688
Deduct 360 from 400 and we're left with 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 21817.688 with a remainder of 0.004.