Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric to string
Message
From
09/11/2007 03:11:40
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01267854
Message ID:
01267861
Views:
10
Yes, I also use SET("POINT") in similar cases myself. I guess that I am not completely awake yet. :-)

>the safety version :-)
>
>?CHRTRAN(STR(130.30,6,2),SET("POINT"),"-")
>
>MartinaJ
>
>>>Dear Experts
>>>
>>>This is numeric type variable and holds
>>>nvar1=137.30
>>>
>>>I want to convert it into string as
>>>cvar1='137-30'
>>>
>>>Please note - in cvar1
>>>I want to display into grid column.
>>>
>>>Please help
>>
>>
cVa1r=chrtran(str(nVar1),'.','-')
Previous
Reply
Map
View

Click here to load this message in the networking platform