We're dividing 31187278 by 333 
Our goal is to divide 31187278 by 333.

Advancing to step 1:
The number 333 fits into 3 0 times, leaving 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.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 333

Let's proceed to step 2:
If we divide 31 by 333, we get 0 and a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 333

Going ahead to step 3:
If we divide 311 by 333, we get 0 and a remainder of 311.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 311 after subtracting 0 from 311.
Fetch the next digit (8) from the dividend, attach it to 311 and continue: 3118 / 333

Going ahead to step 4:
When dividing 3118 by 333, we get 9 with a remainder of 121.
Use 9 as the next digit of our solution. 
Result so far: 9.0
If we take 2997 away from 3118, we end up with 121.
Append the next digit (7) from the dividend to 121 and continue with: 1217 / 333

Step 5:
1217 divided by 333 is 3 with a remainder of 218.
The next digit of our result is 3. 
Result so far: 93.0
The remainder is 218 after subtracting 999 from 1217.
Include the next digit (2) from the dividend after 218, then repeat: 2182 / 333

Step 6:
2182 divided by 333 is 6 with a remainder of 184.
Put 6 as the next digit of the answer. 
Result so far: 936.0
If we subtract 1998 from 2182, we get 184.
Include the next digit (7) from the dividend after 184, then repeat: 1847 / 333

Advancing to step 7:
When dividing 1847 by 333, we get 5 with a remainder of 182.
Use 5 as the next digit of our solution. 
Result so far: 9365.0
Subtracting 1665 from 1847 leaves us with 182.
Take the next digit (8) from the dividend and append it to 182, then repeat: 1828 / 333

Let's proceed to step 8:
333 can be fit into 1828 5 times, resulting in a remainder of 163.
Write down 5 as next digit of the result. 
Result so far: 93655.0
Subtracting 1665 from 1828 leaves us with 163.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1630, and continue the process.

Moving on to step 9:
1630 divided by 333 is 4 with a remainder of 298.
Record the quotient 4 as the next digit in the result. 
Result so far: 93655.4
If we subtract 1332 from 1630, we get 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

Let's proceed to step 10:
333 can be fit into 2980 8 times, resulting in a remainder of 316.
Put 8 as the next digit of the answer. 
Result so far: 93655.48
If we subtract 2664 from 2980, we get 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

On to step 11:
The number 333 fits into 3160 9 times, leaving a remainder of 163.
The next digit of our result is 9. 
Result so far: 93655.489
The remainder is 163 after subtracting 2997 from 3160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1630, and continue the process.

Let's proceed to step 12:
333 can be fit into 1630 4 times, resulting in a remainder of 298.
Record the quotient 4 as the next digit in the result. 
Result so far: 93655.4894
Subtracting 1332 from 1630 leaves us with 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

On to step 13:
When dividing 2980 by 333, we get 8 with a remainder of 316.
The next digit of our result is 8. 
Result so far: 93655.48948
Deduct 2664 from 2980 and we're left with 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

On to step 14:
333 goes into 3160 9 times with a remainder of 163.
Record the quotient 9 as the next digit in the result. 
Result so far: 93655.489489
Deduct 2997 from 3160 and we're left with 163.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1630, and continue the process.

Let's proceed to step 15:
333 goes into 1630 4 times with a remainder of 298.
Put 4 as the next digit of the answer. 
Result so far: 93655.4894894
The remainder is 298 after subtracting 1332 from 1630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

On to step 16:
333 can be fit into 2980 8 times, resulting in a remainder of 316.
Record the quotient 8 as the next digit in the result. 
Result so far: 93655.48948948
Subtract 2664 from 2980 to get 316.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3160, and continue the process.

In conclusion, the division gives 93655.48948948 with a balance of 3.16e-07.