We look at the division of 364412 by 45 
Our goal is to divide 364412 by 45.

Going ahead to step 1:
45 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 45

Going ahead to step 2:
When dividing 36 by 45, we get 0 with a remainder of 36.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 36 leaves us with 36.
Fetch the next digit (4) from the dividend, attach it to 36 and continue: 364 / 45

Step 3:
364 divided by 45 is 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
The remainder is 4 after subtracting 360 from 364.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 45

On to step 4:
When dividing 44 by 45, we get 0 with a remainder of 44.
Put 0 as the next digit of the answer. 
Result so far: 80.0
The remainder is 44 after subtracting 0 from 44.
Append the next digit (1) from the dividend to 44 and continue with: 441 / 45

On to step 5:
441 divided by 45 is 9 with a remainder of 36.
The next digit of our result is 9. 
Result so far: 809.0
If we take 405 away from 441, we end up with 36.
Include the next digit (2) from the dividend after 36, then repeat: 362 / 45

Advancing to step 6:
45 can be fit into 362 8 times, resulting in a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 8098.0
Subtracting 360 from 362 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 7:
45 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 8098.0
Subtracting 0 from 20 leaves us 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.

Going ahead to step 8:
200 divided by 45 is 4 with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 8098.04
Subtracting 180 from 200 leaves us 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.

Going ahead to step 9:
The number 45 fits into 200 4 times, leaving a remainder of 20.
The number 4 becomes the next digit in our result. 
Result so far: 8098.044
Subtracting 180 from 200 leaves us 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.

Our division results in 8098.044 with a remaining 0.002.