Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert decimal to string
Message
From
28/03/2004 13:40:02
 
 
To
28/03/2004 01:51:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00890234
Message ID:
00890267
Views:
22
Hi Mathew,

TRANSFORM( n ) as Marcia wrote, or STR(n,10,2) where 10 is the maximum number of digits including the decimal point, 2 is the number of decimal places.

>Hi All,
>
>Is there a function in VFP that will convert a decimal into a string format?
>I tried to convert n = 1.79 (numeric) using the STR() my result is 2. Any tips?
>
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform