General information
Category:
Active Server Page
>Use the CInt() function to typecast the variables. Something like this:
>
>a = 10
>b = 10
>c = CInt(a) + CInt(b)
>
>HTH
>
>>I must sum 2 values in asp.
>>maybe if
>>a = 10
>>b = 20
>>When i Write a + b it returns 1020
>>I want that its returns 30
>>thanks
Thanks Gary.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only