We look at the division of 335950 by 31 
Let's see how many times 31 fits into 335950.

Going ahead to step 1:
31 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
Subtract 0 from 3 to get 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 31

Going ahead to step 2:
33 divided by 31 is 1 with a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 31 from 33 and we're left with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 31

Going ahead to step 3:
When dividing 25 by 31, we get 0 with a remainder of 25.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
The remainder is 25 after subtracting 0 from 25.
Take the next digit (9) from the dividend and append it to 25, then repeat: 259 / 31

Going ahead to step 4:
The number 31 fits into 259 8 times, leaving a remainder of 11.
Put 8 as the next digit of the answer. 
Result so far: 108.0
Deduct 248 from 259 and we're left with 11.
Fetch the next digit (5) from the dividend, attach it to 11 and continue: 115 / 31

Going ahead to step 5:
If we divide 115 by 31, we get 3 and a remainder of 22.
Write down 3 as next digit of the result. 
Result so far: 1083.0
The remainder is 22 after subtracting 93 from 115.
Bring next digit (0) of the dividend behind the 22 and repeat the process: 220 / 31

Step 6:
When dividing 220 by 31, we get 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 10837.0
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 10837.0
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 8:
31 can be fit into 300 9 times, resulting in a remainder of 21.
The next digit of our result is 9. 
Result so far: 10837.09
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Moving on to step 9:
31 can be fit into 210 6 times, resulting in a remainder of 24.
Write down 6 as next digit of the result. 
Result so far: 10837.096
Deduct 186 from 210 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 10:
240 divided by 31 is 7 with a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 10837.0967
If we take 217 away from 240, we end up with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 11:
When dividing 230 by 31, we get 7 with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 10837.09677
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

After the division, we end up with 10837.09677 and a remainder of 1.3e-05.