show a minimum figure from an equation
<p>I need to show if answer = >2.80 </p>

<pre><code>  var panel; 
    if (routeNodes.length &gt; 0 &amp;&amp; (panel = document.getElementById('distance')))    
    {               
        panel.innerHTML = Number((dist/1609.344).toFixed(1)).toFixed(2)
                        + " miles = &amp;#163;" 
                        + Number((((dist/1609.344 - 1) * 1.20) + 2.80).toFixed(1)).toFixed(2);  
    }
</code></pre>

<p>if &lt; 2.80 then show 2.80</p>
