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

Let's proceed to step 1:
If we divide 3 by 18, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 18

Moving on to step 2:
18 can be fit into 31 1 times, resulting in a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 18 from 31, we get 13.
Grab the next digit (2) from the dividend, add it to 13, then carry on: 132 / 18

On to step 3:
18 goes into 132 7 times with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 17.0
Subtracting 126 from 132 leaves us with 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 18

Let's proceed to step 4:
68 divided by 18 is 3 with a remainder of 14.
The next digit of our result is 3. 
Result so far: 173.0
Subtract 54 from 68 to get 14.
Take the next digit (4) from the dividend and append it to 14, then repeat: 144 / 18

Step 5:
If we divide 144 by 18, we get 8 and a remainder of 0.
The number 8 becomes the next digit in our result. 
Result so far: 1738.0
Subtracting 144 from 144 leaves us with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 18

Going ahead to step 6:
When dividing 5 by 18, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 17380.0
If we take 0 away from 5, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
The number 18 fits into 50 2 times, leaving a remainder of 14.
Record the quotient 2 as the next digit in the result. 
Result so far: 17380.2
The remainder is 14 after subtracting 36 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 8:
18 goes into 140 7 times with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 17380.27
Deduct 126 from 140 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 9:
140 divided by 18 is 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 17380.277
If we subtract 126 from 140, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

The quotient of the division is 17380.277, and the remainder is 0.0014.