Let's divide 958340 by 31
We want to figure out the number of times 958340 can be divided by 31.

Moving on to step 1:
9 divided by 31 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Include the next digit (5) from the dividend after 9, then repeat: 95 / 31

Going ahead to step 2:
The number 31 fits into 95 3 times, leaving a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 93 from 95 leaves us with 2.
Include the next digit (8) from the dividend after 2, then repeat: 28 / 31

Step 3:
When dividing 28 by 31, we get 0 with a remainder of 28.
Record the quotient 0 as the next digit in the result. 
Result so far: 30.0
Deduct 0 from 28 and we're left with 28.
Grab the next digit (3) from the dividend, add it to 28, then carry on: 283 / 31

On to step 4:
The number 31 fits into 283 9 times, leaving a remainder of 4.
Write down 9 as next digit of the result. 
Result so far: 309.0
The remainder is 4 after subtracting 279 from 283.
Fetch the next digit (4) from the dividend, attach it to 4 and continue: 44 / 31

Going ahead to step 5:
31 goes into 44 1 times with a remainder of 13.
The next digit of our result is 1. 
Result so far: 3091.0
If we take 31 away from 44, we end up with 13.
Bring next digit (0) of the dividend behind the 13 and repeat the process: 130 / 31

Let's proceed to step 6:
130 divided by 31 is 4 with a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 30914.0
The remainder is 6 after subtracting 124 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 7:
60 divided by 31 is 1 with a remainder of 29.
The next digit of our result is 1. 
Result so far: 30914.1
The remainder is 29 after subtracting 31 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 8:
If we divide 290 by 31, we get 9 and a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 30914.19
Deduct 279 from 290 and we're left 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.

Going ahead to step 9:
110 divided by 31 is 3 with a remainder of 17.
Use 3 as the next digit of our solution. 
Result so far: 30914.193
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 10:
31 goes into 170 5 times with a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 30914.1935
Deduct 155 from 170 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 11:
150 divided by 31 is 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 30914.19354
Subtract 124 from 150 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 12:
260 divided by 31 is 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 30914.193548
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 13:
31 can be fit into 120 3 times, resulting in a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 30914.1935483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 14:
31 can be fit into 270 8 times, resulting in a remainder of 22.
The number 8 becomes the next digit in our result. 
Result so far: 30914.19354838
If we take 248 away from 270, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Our division results in 30914.19354838 with a remaining 2.2e-08.