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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

converting string to integer

Status
Not open for further replies.

jmorris

Programmer
May 2, 2000
15
AU

I have two values that have been input into a form field, I am wanting to see if one is greater than the other, but when I do the comparison, it is comparing the 2 values as strings.....

Does anyone know how I can convert a string to an integer?

Any help greatly appreciated

Thanks [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top