Math Operation Showing as String
<p>Having trouble with math operator not working.</p>

<pre><code>var posfx = (dwidth - outwd) / 2 + (outwd - twd) + pdir + 1.5 * 14
                 //  =        58                    -         21
</code></pre>

<p>The pdir is an operator ( either + or - ) It's negative in this instance.   &amp; I tried using "+ pdir +"</p>

<p>It's giving me a string of: "58-21", instead of a number (37). How do I get it to calculate a number?</p>
