Let's divide 340843 by 18
Let's see how many times 18 fits into 340843.

Step 1:
When dividing 3 by 18, we get 0 with 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.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 18

On to step 2:
18 can be fit into 34 1 times, resulting in a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 16 after subtracting 18 from 34.
Grab the next digit (0) from the dividend, add it to 16, then carry on: 160 / 18

Going ahead to step 3:
When dividing 160 by 18, we get 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
If we subtract 144 from 160, we get 16.
Take the next digit (8) from the dividend and append it to 16, then repeat: 168 / 18

Moving on to step 4:
168 divided by 18 is 9 with a remainder of 6.
Write down 9 as next digit of the result. 
Result so far: 189.0
Subtract 162 from 168 to get 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 18

Let's proceed to step 5:
When dividing 64 by 18, we get 3 with a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 1893.0
If we subtract 54 from 64, we get 10.
Take the next digit (3) from the dividend and append it to 10, then repeat: 103 / 18

Let's proceed to step 6:
18 goes into 103 5 times with a remainder of 13.
Use 5 as the next digit of our solution. 
Result so far: 18935.0
Subtract 90 from 103 to 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.

Moving on to step 7:
When dividing 130 by 18, we get 7 with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 18935.7
Subtract 126 from 130 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
40 divided by 18 is 2 with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 18935.72
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
When dividing 40 by 18, we get 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 18935.722
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

In conclusion, the division gives 18935.722 with a balance of 0.0004.