We're dividing 988581 by 45 
Let's see how many times 45 fits into 988581.

Going ahead to step 1:
45 goes into 9 0 times with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 45

On to step 2:
If we divide 98 by 45, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 8 after subtracting 90 from 98.
Fetch the next digit (8) from the dividend, attach it to 8 and continue: 88 / 45

Moving on to step 3:
88 divided by 45 is 1 with a remainder of 43.
The next digit of our result is 1. 
Result so far: 21.0
Deduct 45 from 88 and we're left with 43.
Fetch the next digit (5) from the dividend, attach it to 43 and continue: 435 / 45

Moving on to step 4:
If we divide 435 by 45, we get 9 and a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 219.0
Subtract 405 from 435 to get 30.
Append the next digit (8) from the dividend to 30 and continue with: 308 / 45

On to step 5:
45 goes into 308 6 times with a remainder of 38.
Use 6 as the next digit of our solution. 
Result so far: 2196.0
Deduct 270 from 308 and we're left with 38.
Fetch the next digit (1) from the dividend, attach it to 38 and continue: 381 / 45

Moving on to step 6:
45 goes into 381 8 times with a remainder of 21.
The next digit of our result is 8. 
Result so far: 21968.0
Subtract 360 from 381 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 7:
45 goes into 210 4 times with a remainder of 30.
Write down 4 as next digit of the result. 
Result so far: 21968.4
Deduct 180 from 210 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
If we divide 300 by 45, we get 6 and a remainder of 30.
Put 6 as the next digit of the answer. 
Result so far: 21968.46
If we take 270 away from 300, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 9:
The number 45 fits into 300 6 times, leaving a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 21968.466
Deduct 270 from 300 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Our division results in 21968.466 with a remaining 0.003.