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

Moving on to step 1:
18 goes into 7 0 times with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 18

Step 2:
When dividing 78 by 18, we get 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 4.0
If we take 72 away from 78, we end up with 6.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 18

On to step 3:
62 divided by 18 is 3 with a remainder of 8.
The next digit of our result is 3. 
Result so far: 43.0
If we subtract 54 from 62, we get 8.
Include the next digit (8) from the dividend after 8, then repeat: 88 / 18

Let's proceed to step 4:
18 can be fit into 88 4 times, resulting in a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 434.0
If we subtract 72 from 88, we get 16.
Fetch the next digit (4) from the dividend, attach it to 16 and continue: 164 / 18

Step 5:
18 can be fit into 164 9 times, resulting in a remainder of 2.
The next digit of our result is 9. 
Result so far: 4349.0
If we subtract 162 from 164, we get 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 18

Moving on to step 6:
20 divided by 18 is 1 with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 43491.0
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.

Going ahead to step 7:
18 goes into 20 1 times with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 43491.1
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.

Moving on to step 8:
18 can be fit into 20 1 times, resulting in a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 43491.11
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.

The final outcome is 43491.11, with a leftover of 0.002.