I have an html form with text boxes set up in a table. Each amount is converted into currency. How do I calculate the total amount (also in currency)using javascript?