We're dividing 366640 by 12 
Our goal is to divide 366640 by 12.

Let's proceed to step 1:
12 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 12

Going ahead to step 2:
The number 12 fits into 36 3 times, leaving a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we take 36 away from 36, we end up with 0.
Grab the next digit (6) from the dividend, add it to 0, then carry on: 6 / 12

On to step 3:
12 can be fit into 6 0 times, resulting in a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 30.0
If we take 0 away from 6, we end up with 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 12

Going ahead to step 4:
66 divided by 12 is 5 with a remainder of 6.
Put 5 as the next digit of the answer. 
Result so far: 305.0
Deduct 60 from 66 and we're left with 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 12

Advancing to step 5:
If we divide 64 by 12, we get 5 and a remainder of 4.
Put 5 as the next digit of the answer. 
Result so far: 3055.0
The remainder is 4 after subtracting 60 from 64.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 12

Going ahead to step 6:
When dividing 40 by 12, we get 3 with a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 30553.0
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 7:
When dividing 40 by 12, we get 3 with a remainder of 4.
Write down 3 as next digit of the result. 
Result so far: 30553.3
If we take 36 away from 40, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 8:
12 can be fit into 40 3 times, resulting in a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 30553.33
Subtracting 36 from 40 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

After the division, we end up with 30553.33 and a remainder of 0.004.