Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session adding in decimal

Status
Not open for further replies.

janet24

Technical User
Joined
Jul 22, 2003
Messages
161
Location
US
I have a short program that adds some numbers in a web page and updates them using session variables. It seems to be working fine except for the decimal. when I add the totals it doesn't add the decimals. It just seems to add the whole number. I'm using CTYPE(("session"),decimal) Is there anything I don't know about when it comes it decimals and sessions?
 
You can also use Conver.ToDecimal(Session("yourvalue"))
 
If ca8msm or jbenson's suggestions didn't work, please post some code. Thanks :)
 
I got it to work. I wasn't understanding Sessions right. It was updating but not adding.

Thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top