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

string to digit 2

Status
Not open for further replies.

choppysuey

Technical User
Mar 28, 2001
54
US
Can anyone give me a quick heads up on how to convert a string such as 8 into the digit 8 in vfp?

thx

-suey
 
?val("87")
?type('val("87")')

Rick
 
MyString = "8"
MyDigit = VAL(MyString)
MyString=ALLTRIM(MyDigit)
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
thx for the help rick. much appreciated. for some reason i couldn't remember for the life of me on what the function was!

-suey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top