We divide 31074217 by 180
We want to figure out the number of times 31074217 can be divided by 180.

On to step 1:
If we divide 3 by 180, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 180

Step 2:
180 can be fit into 31 0 times, resulting in 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.
Include the next digit (0) from the dividend after 31, then repeat: 310 / 180

On to step 3:
If we divide 310 by 180, we get 1 and a remainder of 130.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 180 from 310 leaves us with 130.
Bring next digit (7) of the dividend behind the 130 and repeat the process: 1307 / 180

Step 4:
The number 180 fits into 1307 7 times, leaving a remainder of 47.
Use 7 as the next digit of our solution. 
Result so far: 17.0
If we subtract 1260 from 1307, we get 47.
Append the next digit (4) from the dividend to 47 and continue with: 474 / 180

Moving on to step 5:
When dividing 474 by 180, we get 2 with a remainder of 114.
Write down 2 as next digit of the result. 
Result so far: 172.0
If we take 360 away from 474, we end up with 114.
Take the next digit (2) from the dividend and append it to 114, then repeat: 1142 / 180

Advancing to step 6:
If we divide 1142 by 180, we get 6 and a remainder of 62.
The number 6 becomes the next digit in our result. 
Result so far: 1726.0
If we take 1080 away from 1142, we end up with 62.
Fetch the next digit (1) from the dividend, attach it to 62 and continue: 621 / 180

On to step 7:
When dividing 621 by 180, we get 3 with a remainder of 81.
Put 3 as the next digit of the answer. 
Result so far: 17263.0
If we take 540 away from 621, we end up with 81.
Fetch the next digit (7) from the dividend, attach it to 81 and continue: 817 / 180

On to step 8:
If we divide 817 by 180, we get 4 and a remainder of 97.
Use 4 as the next digit of our solution. 
Result so far: 172634.0
Deduct 720 from 817 and we're left with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Let's proceed to step 9:
180 goes into 970 5 times with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 172634.5
If we take 900 away from 970, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Advancing to step 10:
When dividing 700 by 180, we get 3 with a remainder of 160.
The number 3 becomes the next digit in our result. 
Result so far: 172634.53
If we take 540 away from 700, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Step 11:
The number 180 fits into 1600 8 times, leaving a remainder of 160.
Write down 8 as next digit of the result. 
Result so far: 172634.538
If we take 1440 away from 1600, we end up with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

On to step 12:
When dividing 1600 by 180, we get 8 with a remainder of 160.
The next digit of our result is 8. 
Result so far: 172634.5388
Subtract 1440 from 1600 to get 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Our division results in 172634.5388 with a remaining 0.0016.