We look at the division of 366628 by 24 
Our goal is to divide 366628 by 24.

On to step 1:
24 goes into 3 0 times with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 24

Moving on to step 2:
36 divided by 24 is 1 with a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 24 from 36, we get 12.
Take the next digit (6) from the dividend and append it to 12, then repeat: 126 / 24

Let's proceed to step 3:
24 goes into 126 5 times with a remainder of 6.
The next digit of our result is 5. 
Result so far: 15.0
If we subtract 120 from 126, we get 6.
Include the next digit (6) from the dividend after 6, then repeat: 66 / 24

Going ahead to step 4:
24 can be fit into 66 2 times, resulting in a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 152.0
Deduct 48 from 66 and we're left with 18.
Bring next digit (2) of the dividend behind the 18 and repeat the process: 182 / 24

Going ahead to step 5:
24 can be fit into 182 7 times, resulting in a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 1527.0
If we subtract 168 from 182, we get 14.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 24

Moving on to step 6:
When dividing 148 by 24, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 15276.0
Subtracting 144 from 148 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.

Let's proceed to step 7:
24 goes into 40 1 times with a remainder of 16.
The next digit of our result is 1. 
Result so far: 15276.1
If we take 24 away from 40, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 8:
If we divide 160 by 24, we get 6 and a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 15276.16
Subtracting 144 from 160 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 9:
160 divided by 24 is 6 with a remainder of 16.
The next digit of our result is 6. 
Result so far: 15276.166
The remainder is 16 after subtracting 144 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final outcome is 15276.166, with a leftover of 0.0016.