LewisReeder
IS-IT--Management
I am creating a web application that requires the user to enter an amount for each day of the week. The numbers are entered into text boxes. I need to have a running total of all the numbers as they input each number. I am using the onchange event handler so each time they move off the boxes the total calculates and is displayed in a separate box. The problem I am having is that I am not able to convert the string to a number (1-3 digit number). I know this because when the total is displayed, each number is added as the next character in the string rather than creating a total. How can I convert my string to a number (with decimals)?