We divide 361317 by 45
We want to divide 361317 by 45.

Step 1:
When dividing 3 by 45, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 45

Going ahead to step 2:
36 divided by 45 is 0 with a remainder of 36.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 36, we get 36.
Take the next digit (1) from the dividend and append it to 36, then repeat: 361 / 45

Let's proceed to step 3:
The number 45 fits into 361 8 times, leaving a remainder of 1.
The next digit of our result is 8. 
Result so far: 8.0
Subtract 360 from 361 to get 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 45

Going ahead to step 4:
The number 45 fits into 13 0 times, leaving a remainder of 13.
Put 0 as the next digit of the answer. 
Result so far: 80.0
Subtract 0 from 13 to get 13.
Bring next digit (1) of the dividend behind the 13 and repeat the process: 131 / 45

Let's proceed to step 5:
45 can be fit into 131 2 times, resulting in a remainder of 41.
The next digit of our result is 2. 
Result so far: 802.0
Subtracting 90 from 131 leaves us with 41.
Include the next digit (7) from the dividend after 41, then repeat: 417 / 45

Advancing to step 6:
The number 45 fits into 417 9 times, leaving a remainder of 12.
The next digit of our result is 9. 
Result so far: 8029.0
Subtracting 405 from 417 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 7:
45 can be fit into 120 2 times, resulting in a remainder of 30.
Record the quotient 2 as the next digit in the result. 
Result so far: 8029.2
If we subtract 90 from 120, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 8:
45 can be fit into 300 6 times, resulting in a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 8029.26
Subtracting 270 from 300 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 9:
The number 45 fits into 300 6 times, leaving a remainder of 30.
Put 6 as the next digit of the answer. 
Result so far: 8029.266
Subtract 270 from 300 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

In conclusion, the division gives 8029.266 with a balance of 0.003.