...

View Full Version : adding numbers.



Baleric
04-28-2006, 12:35 AM
----------------------
SOLVED.
----------------------
hello,
i need to know how to add numbers in asp
i would like to multiply cost by ammount of items then add shipping.
eg.
2000.00 x 3 + 5.00 = total

its coming out of an access db.


i have no idea where to start.


thanks in advance


-baleric

----------------------
SOLVED.
----------------------

Baleric
04-28-2006, 01:57 AM
silly mistake i was inserting a $ sign in the database and it was getting confused.



dim total
total = rs("cost") * rs("ammount") + rs("Shipping")

<%= total %>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum