Let's divide 312140 by 9
We want to divide 312140 by 9.

On to step 1:
9 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 9

Let's proceed to step 2:
If we divide 31 by 9, we get 3 and a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
The remainder is 4 after subtracting 27 from 31.
Append the next digit (2) from the dividend to 4 and continue with: 42 / 9

On to step 3:
42 divided by 9 is 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 34.0
Subtracting 36 from 42 leaves us with 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 9

On to step 4:
When dividing 61 by 9, we get 6 with a remainder of 7.
Write down 6 as next digit of the result. 
Result so far: 346.0
If we subtract 54 from 61, we get 7.
Fetch the next digit (4) from the dividend, attach it to 7 and continue: 74 / 9

Let's proceed to step 5:
9 goes into 74 8 times with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 3468.0
Deduct 72 from 74 and we're left with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 9

On to step 6:
If we divide 20 by 9, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 34682.0
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 7:
The number 9 fits into 20 2 times, leaving a remainder of 2.
The next digit of our result is 2. 
Result so far: 34682.2
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
20 divided by 9 is 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 34682.22
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 34682.22 and a remainder of 0.002.