Let's divide 12027 by 45
We're looking to find how many times 45 goes into 12027.

Moving on to step 1:
1 divided by 45 is 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 45

Step 2:
45 goes into 12 0 times with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Bring next digit (0) of the dividend behind the 12 and repeat the process: 120 / 45

Advancing to step 3:
When dividing 120 by 45, we get 2 with a remainder of 30.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 90 away from 120, we end up with 30.
Fetch the next digit (2) from the dividend, attach it to 30 and continue: 302 / 45

Advancing to step 4:
The number 45 fits into 302 6 times, leaving a remainder of 32.
The next digit of our result is 6. 
Result so far: 26.0
The remainder is 32 after subtracting 270 from 302.
Fetch the next digit (7) from the dividend, attach it to 32 and continue: 327 / 45

Step 5:
327 divided by 45 is 7 with a remainder of 12.
Record the quotient 7 as the next digit in the result. 
Result so far: 267.0
If we take 315 away from 327, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 6:
The number 45 fits into 120 2 times, leaving a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 267.2
Subtract 90 from 120 to get 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 7:
45 goes into 300 6 times with a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 267.26
Subtract 270 from 300 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
45 goes into 300 6 times with a remainder of 30.
Use 6 as the next digit of our solution. 
Result so far: 267.266
The remainder is 30 after subtracting 270 from 300.
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 267.266 with a remaining 0.003.