We look at the division of 164864 by 45 
We're looking to find how many times 45 goes into 164864.

Going ahead to step 1:
45 goes into 1 0 times with a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 45

Moving on to step 2:
45 can be fit into 16 0 times, resulting in a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Fetch the next digit (4) from the dividend, attach it to 16 and continue: 164 / 45

On to step 3:
45 can be fit into 164 3 times, resulting in a remainder of 29.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 135 away from 164, we end up with 29.
Take the next digit (8) from the dividend and append it to 29, then repeat: 298 / 45

Advancing to step 4:
If we divide 298 by 45, we get 6 and a remainder of 28.
Write down 6 as next digit of the result. 
Result so far: 36.0
Subtract 270 from 298 to get 28.
Fetch the next digit (6) from the dividend, attach it to 28 and continue: 286 / 45

Advancing to step 5:
The number 45 fits into 286 6 times, leaving a remainder of 16.
The next digit of our result is 6. 
Result so far: 366.0
If we subtract 270 from 286, we get 16.
Fetch the next digit (4) from the dividend, attach it to 16 and continue: 164 / 45

Going ahead to step 6:
164 divided by 45 is 3 with a remainder of 29.
Put 3 as the next digit of the answer. 
Result so far: 3663.0
The remainder is 29 after subtracting 135 from 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 7:
290 divided by 45 is 6 with a remainder of 20.
Record the quotient 6 as the next digit in the result. 
Result so far: 3663.6
Subtract 270 from 290 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
The number 45 fits into 200 4 times, leaving a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 3663.64
The remainder is 20 after subtracting 180 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
200 divided by 45 is 4 with a remainder of 20.
Use 4 as the next digit of our solution. 
Result so far: 3663.644
If we take 180 away from 200, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 3663.644 with a remainder of 0.002.