We divide 985642 by 45
Let's see how many times 45 fits into 985642.

Going ahead to step 1:
When dividing 9 by 45, we get 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 45

Moving on to step 2:
When dividing 98 by 45, we get 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 90 from 98 to get 8.
Include the next digit (5) from the dividend after 8, then repeat: 85 / 45

Going ahead to step 3:
When dividing 85 by 45, we get 1 with a remainder of 40.
Use 1 as the next digit of our solution. 
Result so far: 21.0
Deduct 45 from 85 and we're left with 40.
Grab the next digit (6) from the dividend, add it to 40, then carry on: 406 / 45

Step 4:
The number 45 fits into 406 9 times, leaving a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 219.0
Subtract 405 from 406 to get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 45

Advancing to step 5:
45 can be fit into 14 0 times, resulting in a remainder of 14.
Use 0 as the next digit of our solution. 
Result so far: 2190.0
The remainder is 14 after subtracting 0 from 14.
Fetch the next digit (2) from the dividend, attach it to 14 and continue: 142 / 45

Let's proceed to step 6:
If we divide 142 by 45, we get 3 and a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 21903.0
If we subtract 135 from 142, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
45 can be fit into 70 1 times, resulting in a remainder of 25.
Use 1 as the next digit of our solution. 
Result so far: 21903.1
If we take 45 away from 70, 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.

Moving on to step 8:
When dividing 250 by 45, we get 5 with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 21903.15
Subtracting 225 from 250 leaves us 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 9:
45 can be fit into 250 5 times, resulting in a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 21903.155
If we take 225 away from 250, 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.

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