336418 divided by 18 
Let's see how many times 18 fits into 336418.

Moving on to step 1:
If we divide 3 by 18, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (3) of the dividend behind the 3 and repeat the process: 33 / 18

On to step 2:
The number 18 fits into 33 1 times, leaving a remainder of 15.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 18 from 33 and we're left with 15.
Include the next digit (6) from the dividend after 15, then repeat: 156 / 18

Going ahead to step 3:
18 can be fit into 156 8 times, resulting in a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we subtract 144 from 156, we get 12.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 18

On to step 4:
If we divide 124 by 18, we get 6 and a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 186.0
If we take 108 away from 124, we end up with 16.
Include the next digit (1) from the dividend after 16, then repeat: 161 / 18

Going ahead to step 5:
161 divided by 18 is 8 with a remainder of 17.
Record the quotient 8 as the next digit in the result. 
Result so far: 1868.0
If we subtract 144 from 161, we get 17.
Append the next digit (8) from the dividend to 17 and continue with: 178 / 18

On to step 6:
If we divide 178 by 18, we get 9 and a remainder of 16.
Write down 9 as next digit of the result. 
Result so far: 18689.0
The remainder is 16 after subtracting 162 from 178.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
The number 18 fits into 160 8 times, leaving a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 18689.8
Subtract 144 from 160 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 8:
18 goes into 160 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 18689.88
Deduct 144 from 160 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final outcome is 18689.88, with a leftover of 0.016.