We're dividing 39906580 by 180 
Our goal is to divide 39906580 by 180.

Advancing to step 1:
180 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
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 180

Step 2:
When dividing 39 by 180, we get 0 with a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Fetch the next digit (9) from the dividend, attach it to 39 and continue: 399 / 180

On to step 3:
The number 180 fits into 399 2 times, leaving a remainder of 39.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 360 from 399 and we're left with 39.
Bring next digit (0) of the dividend behind the 39 and repeat the process: 390 / 180

Moving on to step 4:
The number 180 fits into 390 2 times, leaving a remainder of 30.
The number 2 becomes the next digit in our result. 
Result so far: 22.0
If we take 360 away from 390, we end up with 30.
Bring next digit (6) of the dividend behind the 30 and repeat the process: 306 / 180

Going ahead to step 5:
180 can be fit into 306 1 times, resulting in a remainder of 126.
The next digit of our result is 1. 
Result so far: 221.0
If we subtract 180 from 306, we get 126.
Include the next digit (5) from the dividend after 126, then repeat: 1265 / 180

Moving on to step 6:
180 can be fit into 1265 7 times, resulting in a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 2217.0
The remainder is 5 after subtracting 1260 from 1265.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 180

Going ahead to step 7:
180 can be fit into 58 0 times, resulting in a remainder of 58.
Record the quotient 0 as the next digit in the result. 
Result so far: 22170.0
Deduct 0 from 58 and we're left with 58.
Include the next digit (0) from the dividend after 58, then repeat: 580 / 180

Let's proceed to step 8:
180 goes into 580 3 times with a remainder of 40.
The next digit of our result is 3. 
Result so far: 221703.0
Subtract 540 from 580 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 9:
If we divide 400 by 180, we get 2 and a remainder of 40.
Put 2 as the next digit of the answer. 
Result so far: 221703.2
Subtract 360 from 400 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 10:
The number 180 fits into 400 2 times, leaving a remainder of 40.
The next digit of our result is 2. 
Result so far: 221703.22
Subtract 360 from 400 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

The quotient of the division is 221703.22, and the remainder is 0.04.