We're dividing 396654 by 27 
Let's see how many times 27 fits into 396654.

Step 1:
27 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 27

Let's proceed to step 2:
When dividing 39 by 27, we get 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 27 from 39, we get 12.
Append the next digit (6) from the dividend to 12 and continue with: 126 / 27

Moving on to step 3:
The number 27 fits into 126 4 times, leaving a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Subtracting 108 from 126 leaves us with 18.
Append the next digit (6) from the dividend to 18 and continue with: 186 / 27

Moving on to step 4:
186 divided by 27 is 6 with a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 146.0
The remainder is 24 after subtracting 162 from 186.
Grab the next digit (5) from the dividend, add it to 24, then carry on: 245 / 27

On to step 5:
When dividing 245 by 27, we get 9 with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 1469.0
Deduct 243 from 245 and we're left with 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 27

Let's proceed to step 6:
When dividing 24 by 27, we get 0 with a remainder of 24.
Put 0 as the next digit of the answer. 
Result so far: 14690.0
Deduct 0 from 24 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 7:
If we divide 240 by 27, we get 8 and a remainder of 24.
Put 8 as the next digit of the answer. 
Result so far: 14690.8
Subtracting 216 from 240 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 8:
The number 27 fits into 240 8 times, leaving a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 14690.88
The remainder is 24 after subtracting 216 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The quotient of the division is 14690.88, and the remainder is 0.024.