Javascript Adding a dollar sign $ to my answer
<p>I would like to add a $ to my final answer right now it currently returns the answer in a alert message as 500.00 depending o</p>

<pre><code>&lt;HTML&gt;
&lt;HEAD&gt;
&lt;TITLE&gt;Simple Adder&lt;/TITLE&gt;
&lt;SCRIPT LANGUAGE="JavaScript"&gt;
function CalculateSum(Atext, Btext)
{
var A = parseFloat(Atext);
var B= A * .03+.30+A;
alert(B.toFixed(2));
}
function ClearForm(form)
{
form.input_A.value = "";
form.Answer.value = "";
}

// end of JavaScript functions --&gt;
&lt;/SCRIPT&gt;
&lt;/HEAD&gt;

&lt;BODY&gt;

&lt;P&gt;&lt;FONT SIZE="+2"&gt;Credit Card Payment Calculator&lt;/FONT&gt;&lt;/P&gt;

&lt;FORM NAME="Calculator" METHOD="post"&gt;
&lt;P&gt;Enter Base Rent: &lt;INPUT TYPE=TEXT NAME="input_A" SIZE=10&gt;&lt;/P&gt;
&lt;P&gt;&lt;INPUT TYPE="button" VALUE="Calculate Rent &amp; Fees Payment" name="AddButton"    onClick="CalculateSum(this.form.input_A.value, this.form)"&gt;&lt;/P&gt;
&lt;/FORM&gt;

&lt;/BODY&gt;
&lt;/HTML&gt;
</code></pre>
