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

Going ahead to step 1:
45 goes into 9 0 times with 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.
Take the next digit (6) from the dividend and append it to 9, then repeat: 96 / 45

Step 2:
The number 45 fits into 96 2 times, leaving a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 6 after subtracting 90 from 96.
Grab the next digit (5) from the dividend, add it to 6, then carry on: 65 / 45

Going ahead to step 3:
45 goes into 65 1 times with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 21.0
Subtracting 45 from 65 leaves us with 20.
Take the next digit (8) from the dividend and append it to 20, then repeat: 208 / 45

Going ahead to step 4:
45 goes into 208 4 times with a remainder of 28.
The next digit of our result is 4. 
Result so far: 214.0
Subtracting 180 from 208 leaves us with 28.
Bring next digit (8) of the dividend behind the 28 and repeat the process: 288 / 45

Moving on to step 5:
If we divide 288 by 45, we get 6 and a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 2146.0
Subtract 270 from 288 to get 18.
Grab the next digit (4) from the dividend, add it to 18, then carry on: 184 / 45

Advancing to step 6:
The number 45 fits into 184 4 times, leaving a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 21464.0
If we subtract 180 from 184, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
If we divide 40 by 45, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 21464.0
If we take 0 away from 40, 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 8:
45 can be fit into 400 8 times, resulting in a remainder of 40.
The number 8 becomes the next digit in our result. 
Result so far: 21464.08
Subtracting 360 from 400 leaves us 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.

Step 9:
400 divided by 45 is 8 with a remainder of 40.
Write down 8 as next digit of the result. 
Result so far: 21464.088
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 quotient of the division is 21464.088, and the remainder is 0.004.