Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Numeric to string
Message
De
09/11/2007 03:11:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01267854
Message ID:
01267861
Vues:
11
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),'.','-')
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform