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

Can Strings Take a Number Value 1

Status
Not open for further replies.

LadyAmpherion

Technical User
Jul 22, 2004
9
US
If I have a USF1:String[20] that holds a number, can I make Crystal Reports use it as a number? If so, how do I do that?

Please advise and Thanks!

Louanne
 
certainly it can....You should have posted an example of the string.

You can extract the portion of the string using Left, Right or Mid and the convert it to a number using tonumber()

Eg. x = "aws123"

tonumber(right(x,3))

Jim Broadbent

The quality of the answer is directly proportional to the quality of the problem statement!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top