We're dividing 3177161 by 366 
Our goal is to divide 3177161 by 366.

On to step 1:
The number 366 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 366

Advancing to step 2:
If we divide 31 by 366, we get 0 and a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Append the next digit (7) from the dividend to 31 and continue with: 317 / 366

Step 3:
366 can be fit into 317 0 times, resulting in a remainder of 317.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 317, we get 317.
Fetch the next digit (7) from the dividend, attach it to 317 and continue: 3177 / 366

Let's proceed to step 4:
366 goes into 3177 8 times with a remainder of 249.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Deduct 2928 from 3177 and we're left with 249.
Bring next digit (1) of the dividend behind the 249 and repeat the process: 2491 / 366

Advancing to step 5:
The number 366 fits into 2491 6 times, leaving a remainder of 295.
Record the quotient 6 as the next digit in the result. 
Result so far: 86.0
If we take 2196 away from 2491, we end up with 295.
Bring next digit (6) of the dividend behind the 295 and repeat the process: 2956 / 366

Step 6:
366 can be fit into 2956 8 times, resulting in a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 868.0
Subtract 2928 from 2956 to get 28.
Fetch the next digit (1) from the dividend, attach it to 28 and continue: 281 / 366

Let's proceed to step 7:
366 goes into 281 0 times with a remainder of 281.
Record the quotient 0 as the next digit in the result. 
Result so far: 8680.0
Deduct 0 from 281 and we're left with 281.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2810, and continue the process.

Moving on to step 8:
366 can be fit into 2810 7 times, resulting in a remainder of 248.
Record the quotient 7 as the next digit in the result. 
Result so far: 8680.7
If we take 2562 away from 2810, we end up with 248.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2480, and continue the process.

Moving on to step 9:
366 goes into 2480 6 times with a remainder of 284.
Use 6 as the next digit of our solution. 
Result so far: 8680.76
The remainder is 284 after subtracting 2196 from 2480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

Moving on to step 10:
When dividing 2840 by 366, we get 7 with a remainder of 278.
Record the quotient 7 as the next digit in the result. 
Result so far: 8680.767
Subtracting 2562 from 2840 leaves us with 278.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2780, and continue the process.

Let's proceed to step 11:
If we divide 2780 by 366, we get 7 and a remainder of 218.
The next digit of our result is 7. 
Result so far: 8680.7677
Subtract 2562 from 2780 to get 218.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2180, and continue the process.

In conclusion, the division gives 8680.7677 with a balance of 0.00218.