We're dividing 986794 by 45 
Our goal is to divide 986794 by 45.

Advancing to step 1:
9 divided by 45 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 45

Let's proceed to step 2:
98 divided by 45 is 2 with a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 90 away from 98, we end up with 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 45

On to step 3:
When dividing 86 by 45, we get 1 with a remainder of 41.
Write down 1 as next digit of the result. 
Result so far: 21.0
If we take 45 away from 86, we end up with 41.
Grab the next digit (7) from the dividend, add it to 41, then carry on: 417 / 45

Advancing to step 4:
The number 45 fits into 417 9 times, leaving a remainder of 12.
The next digit of our result is 9. 
Result so far: 219.0
If we subtract 405 from 417, we get 12.
Include the next digit (9) from the dividend after 12, then repeat: 129 / 45

Advancing to step 5:
The number 45 fits into 129 2 times, leaving a remainder of 39.
Use 2 as the next digit of our solution. 
Result so far: 2192.0
Subtract 90 from 129 to get 39.
Include the next digit (4) from the dividend after 39, then repeat: 394 / 45

Let's proceed to step 6:
45 can be fit into 394 8 times, resulting in a remainder of 34.
Put 8 as the next digit of the answer. 
Result so far: 21928.0
The remainder is 34 after subtracting 360 from 394.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 7:
45 can be fit into 340 7 times, resulting in a remainder of 25.
The number 7 becomes the next digit in our result. 
Result so far: 21928.7
If we take 315 away from 340, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 8:
45 goes into 250 5 times with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 21928.75
If we subtract 225 from 250, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 9:
When dividing 250 by 45, we get 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 21928.755
If we subtract 225 from 250, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

The quotient of the division is 21928.755, and the remainder is 0.0025.