VAL returns a numeric from a text representation of numbers and IIRC is also 
smart enough to handle currency character.
 
--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Joe Yoder
Sent: Tuesday, January 27, 2015 11:32 AM
To: [email protected]
Subject: function to convert currency formated data in a text field

Is there a built in FoxPro function to convert a text field containing 
"($123.45)" to  the numeric value -123.45?  I know I can tear it apart to 
figure it out but am not sure what terms to use to look for a function that 
does it for me.

Thanks in advance,

Joe


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cy1pr10mb0218f1464c0a2715f7138e42d2...@cy1pr10mb0218.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to