342960 divided by 31 
We want to divide 342960 by 31.

On to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 31

On to step 2:
34 divided by 31 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 31 from 34, we get 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 31

Step 3:
The number 31 fits into 32 1 times, leaving a remainder of 1.
The next digit of our result is 1. 
Result so far: 11.0
If we subtract 31 from 32, we get 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 31

Advancing to step 4:
If we divide 19 by 31, we get 0 and a remainder of 19.
The next digit of our result is 0. 
Result so far: 110.0
If we subtract 0 from 19, we get 19.
Fetch the next digit (6) from the dividend, attach it to 19 and continue: 196 / 31

Advancing to step 5:
If we divide 196 by 31, we get 6 and a remainder of 10.
The next digit of our result is 6. 
Result so far: 1106.0
If we take 186 away from 196, we end up with 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 31

Let's proceed to step 6:
31 goes into 100 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 11063.0
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
70 divided by 31 is 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 11063.2
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
31 goes into 80 2 times with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 11063.22
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 11063.22 and a remainder of 0.018.