For example if both values are int type it adds them…. ie 2+2=4
if both values are float….ie 2.2+2.3=4.5
or if one value is string and second is int…ie 1 + Pak=1Pak
We will get these two values from user using tfwo textboxes
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This would be one way of doing it. Without having to convert to string and than back to numeric.