We're dividing 31455986 by 331 
We want to divide 31455986 by 331.

Going ahead to step 1:
When dividing 3 by 331, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 331

Going ahead to step 2:
331 can be fit into 31 0 times, resulting in a remainder of 31.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (4) from the dividend to 31 and continue with: 314 / 331

Going ahead to step 3:
331 goes into 314 0 times with a remainder of 314.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 314 and we're left with 314.
Bring next digit (5) of the dividend behind the 314 and repeat the process: 3145 / 331

Advancing to step 4:
The number 331 fits into 3145 9 times, leaving a remainder of 166.
The next digit of our result is 9. 
Result so far: 9.0
The remainder is 166 after subtracting 2979 from 3145.
Grab the next digit (5) from the dividend, add it to 166, then carry on: 1665 / 331

On to step 5:
When dividing 1665 by 331, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 95.0
Subtract 1655 from 1665 to get 10.
Append the next digit (9) from the dividend to 10 and continue with: 109 / 331

Step 6:
109 divided by 331 is 0 with a remainder of 109.
Write down 0 as next digit of the result. 
Result so far: 950.0
If we subtract 0 from 109, we get 109.
Fetch the next digit (8) from the dividend, attach it to 109 and continue: 1098 / 331

Moving on to step 7:
331 can be fit into 1098 3 times, resulting in a remainder of 105.
Put 3 as the next digit of the answer. 
Result so far: 9503.0
If we take 993 away from 1098, we end up with 105.
Take the next digit (6) from the dividend and append it to 105, then repeat: 1056 / 331

On to step 8:
1056 divided by 331 is 3 with a remainder of 63.
Put 3 as the next digit of the answer. 
Result so far: 95033.0
Subtracting 993 from 1056 leaves us with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Going ahead to step 9:
331 goes into 630 1 times with a remainder of 299.
The next digit of our result is 1. 
Result so far: 95033.1
Subtracting 331 from 630 leaves us with 299.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2990, and continue the process.

Step 10:
If we divide 2990 by 331, we get 9 and a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 95033.19
Subtracting 2979 from 2990 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 11:
110 divided by 331 is 0 with a remainder of 110.
Put 0 as the next digit of the answer. 
Result so far: 95033.19
Deduct 0 from 110 and we're left with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Advancing to step 12:
The number 331 fits into 1100 3 times, leaving a remainder of 107.
The next digit of our result is 3. 
Result so far: 95033.1903
The remainder is 107 after subtracting 993 from 1100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1070, and continue the process.

Going ahead to step 13:
The number 331 fits into 1070 3 times, leaving a remainder of 77.
Record the quotient 3 as the next digit in the result. 
Result so far: 95033.19033
Subtract 993 from 1070 to get 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

The final outcome is 95033.19033, with a leftover of 7.7e-05.