We're dividing 10402228 by 366 
We want to divide 10402228 by 366.

Let's proceed to step 1:
If we divide 1 by 366, we get 0 and a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 366

Let's proceed to step 2:
366 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 10 after subtracting 0 from 10.
Fetch the next digit (4) from the dividend, attach it to 10 and continue: 104 / 366

Advancing to step 3:
When dividing 104 by 366, we get 0 with a remainder of 104.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 104 and we're left with 104.
Include the next digit (0) from the dividend after 104, then repeat: 1040 / 366

Step 4:
1040 divided by 366 is 2 with a remainder of 308.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
If we take 732 away from 1040, we end up with 308.
Append the next digit (2) from the dividend to 308 and continue with: 3082 / 366

Advancing to step 5:
366 can be fit into 3082 8 times, resulting in a remainder of 154.
The next digit of our result is 8. 
Result so far: 28.0
Subtracting 2928 from 3082 leaves us with 154.
Fetch the next digit (2) from the dividend, attach it to 154 and continue: 1542 / 366

On to step 6:
When dividing 1542 by 366, we get 4 with a remainder of 78.
Record the quotient 4 as the next digit in the result. 
Result so far: 284.0
Subtract 1464 from 1542 to get 78.
Append the next digit (2) from the dividend to 78 and continue with: 782 / 366

Moving on to step 7:
782 divided by 366 is 2 with a remainder of 50.
The number 2 becomes the next digit in our result. 
Result so far: 2842.0
If we subtract 732 from 782, we get 50.
Fetch the next digit (8) from the dividend, attach it to 50 and continue: 508 / 366

Advancing to step 8:
366 goes into 508 1 times with a remainder of 142.
Use 1 as the next digit of our solution. 
Result so far: 28421.0
Subtracting 366 from 508 leaves us with 142.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1420, and continue the process.

Going ahead to step 9:
366 goes into 1420 3 times with a remainder of 322.
Use 3 as the next digit of our solution. 
Result so far: 28421.3
If we take 1098 away from 1420, we end up with 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Let's proceed to step 10:
The number 366 fits into 3220 8 times, leaving a remainder of 292.
The next digit of our result is 8. 
Result so far: 28421.38
Subtract 2928 from 3220 to get 292.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2920, and continue the process.

Going ahead to step 11:
366 can be fit into 2920 7 times, resulting in a remainder of 358.
Write down 7 as next digit of the result. 
Result so far: 28421.387
Subtracting 2562 from 2920 leaves us with 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

Advancing to step 12:
366 goes into 3580 9 times with a remainder of 286.
The next digit of our result is 9. 
Result so far: 28421.3879
The remainder is 286 after subtracting 3294 from 3580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

Going ahead to step 13:
The number 366 fits into 2860 7 times, leaving a remainder of 298.
The next digit of our result is 7. 
Result so far: 28421.38797
If we take 2562 away from 2860, we end up with 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

Step 14:
The number 366 fits into 2980 8 times, leaving a remainder of 52.
The next digit of our result is 8. 
Result so far: 28421.387978
Subtracting 2928 from 2980 leaves us with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 15:
When dividing 520 by 366, we get 1 with a remainder of 154.
The number 1 becomes the next digit in our result. 
Result so far: 28421.3879781
Subtract 366 from 520 to get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

Let's proceed to step 16:
366 can be fit into 1540 4 times, resulting in a remainder of 76.
Write down 4 as next digit of the result. 
Result so far: 28421.38797814
The remainder is 76 after subtracting 1464 from 1540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Our division results in 28421.38797814 with a remaining 7.6e-08.