Let's divide 31987161 by 228
We're looking to find how many times 228 goes into 31987161.

On to step 1:
When dividing 3 by 228, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 228

Advancing to step 2:
The number 228 fits into 31 0 times, leaving a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Grab the next digit (9) from the dividend, add it to 31, then carry on: 319 / 228

On to step 3:
319 divided by 228 is 1 with a remainder of 91.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 228 from 319 leaves us with 91.
Grab the next digit (8) from the dividend, add it to 91, then carry on: 918 / 228

Going ahead to step 4:
When dividing 918 by 228, we get 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 14.0
If we subtract 912 from 918, we get 6.
Append the next digit (7) from the dividend to 6 and continue with: 67 / 228

Step 5:
When dividing 67 by 228, we get 0 with a remainder of 67.
Use 0 as the next digit of our solution. 
Result so far: 140.0
The remainder is 67 after subtracting 0 from 67.
Include the next digit (1) from the dividend after 67, then repeat: 671 / 228

Step 6:
If we divide 671 by 228, we get 2 and a remainder of 215.
Record the quotient 2 as the next digit in the result. 
Result so far: 1402.0
Subtract 456 from 671 to get 215.
Fetch the next digit (6) from the dividend, attach it to 215 and continue: 2156 / 228

Let's proceed to step 7:
2156 divided by 228 is 9 with a remainder of 104.
Record the quotient 9 as the next digit in the result. 
Result so far: 14029.0
Subtract 2052 from 2156 to get 104.
Take the next digit (1) from the dividend and append it to 104, then repeat: 1041 / 228

Step 8:
The number 228 fits into 1041 4 times, leaving a remainder of 129.
Use 4 as the next digit of our solution. 
Result so far: 140294.0
Subtracting 912 from 1041 leaves us with 129.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1290, and continue the process.

Advancing to step 9:
1290 divided by 228 is 5 with a remainder of 150.
Use 5 as the next digit of our solution. 
Result so far: 140294.5
If we subtract 1140 from 1290, we get 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

On to step 10:
228 can be fit into 1500 6 times, resulting in a remainder of 132.
Record the quotient 6 as the next digit in the result. 
Result so far: 140294.56
The remainder is 132 after subtracting 1368 from 1500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Step 11:
228 can be fit into 1320 5 times, resulting in a remainder of 180.
The next digit of our result is 5. 
Result so far: 140294.565
Deduct 1140 from 1320 and we're left with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Going ahead to step 12:
The number 228 fits into 1800 7 times, leaving a remainder of 204.
Write down 7 as next digit of the result. 
Result so far: 140294.5657
Subtracting 1596 from 1800 leaves us with 204.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2040, and continue the process.

Advancing to step 13:
The number 228 fits into 2040 8 times, leaving a remainder of 216.
Write down 8 as next digit of the result. 
Result so far: 140294.56578
If we take 1824 away from 2040, we end up with 216.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2160, and continue the process.

Moving on to step 14:
2160 divided by 228 is 9 with a remainder of 108.
The next digit of our result is 9. 
Result so far: 140294.565789
Subtracting 2052 from 2160 leaves us with 108.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1080, and continue the process.

Moving on to step 15:
If we divide 1080 by 228, we get 4 and a remainder of 168.
Record the quotient 4 as the next digit in the result. 
Result so far: 140294.5657894
If we subtract 912 from 1080, we get 168.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1680, and continue the process.

Moving on to step 16:
228 can be fit into 1680 7 times, resulting in a remainder of 84.
Put 7 as the next digit of the answer. 
Result so far: 140294.56578947
If we take 1596 away from 1680, we end up with 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

The final outcome is 140294.56578947, with a leftover of 8.4e-08.