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

Advancing to 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

Moving on to step 2:
When dividing 34 by 18, we get 1 with a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 16 after subtracting 18 from 34.
Append the next digit (0) from the dividend to 16 and continue with: 160 / 18

Step 3:
18 can be fit into 160 8 times, resulting in a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we subtract 144 from 160, we get 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 18

Moving on to step 4:
18 can be fit into 165 9 times, resulting in a remainder of 3.
Put 9 as the next digit of the answer. 
Result so far: 189.0
Subtract 162 from 165 to get 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 18

Step 5:
If we divide 38 by 18, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 1892.0
Subtract 36 from 38 to get 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 18

Let's proceed to step 6:
When dividing 23 by 18, we get 1 with a remainder of 5.
Record the quotient 1 as the next digit in the result. 
Result so far: 18921.0
Subtract 18 from 23 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
18 can be fit into 50 2 times, resulting in a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 18921.2
Subtracting 36 from 50 leaves us 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.

Let's proceed to step 8:
The number 18 fits into 140 7 times, leaving a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 18921.27
Subtracting 126 from 140 leaves us 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.

Let's proceed to step 9:
The number 18 fits into 140 7 times, leaving a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 18921.277
The remainder is 14 after subtracting 126 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

In conclusion, the division gives 18921.277 with a balance of 0.0014.