Let's divide 315577 by 45
We want to divide 315577 by 45.

Step 1:
45 can be fit into 3 0 times, resulting in a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 45

On to step 2:
The number 45 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (5) from the dividend and append it to 31, then repeat: 315 / 45

Step 3:
45 can be fit into 315 7 times, resulting in a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Deduct 315 from 315 and we're left with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 45

Let's proceed to step 4:
If we divide 5 by 45, we get 0 and a remainder of 5.
The next digit of our result is 0. 
Result so far: 70.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (7) from the dividend, attach it to 5 and continue: 57 / 45

Going ahead to step 5:
57 divided by 45 is 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 701.0
Deduct 45 from 57 and we're left with 12.
Bring next digit (7) of the dividend behind the 12 and repeat the process: 127 / 45

Moving on to step 6:
When dividing 127 by 45, we get 2 with a remainder of 37.
The next digit of our result is 2. 
Result so far: 7012.0
Subtracting 90 from 127 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Going ahead to step 7:
45 can be fit into 370 8 times, resulting in a remainder of 10.
Put 8 as the next digit of the answer. 
Result so far: 7012.8
Subtracting 360 from 370 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 8:
45 goes into 100 2 times with a remainder of 10.
Put 2 as the next digit of the answer. 
Result so far: 7012.82
The remainder is 10 after subtracting 90 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
100 divided by 45 is 2 with a remainder of 10.
The next digit of our result is 2. 
Result so far: 7012.822
Subtracting 90 from 100 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 7012.822 and a remainder of 0.001.