View Single Post
Old 06-24-2002, 03:23 PM   PM User | #1
askomski
New to the CF scene

 
Join Date: Jun 2002
Location: Livonia, MI
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
askomski is an unknown quantity at this point
Addition in a form

I have developed the following script:

function calcBudget(){
a = CapBudget;
b = ExpBudget;
total = a + b;
return total;}

Example:
a = 47 b = 53
Answer should be 100, but I get 4753. How can I add these two together as numbers?

This is for a Intranet site at work. Calculation must be done on the client side.
askomski is offline   Reply With Quote