Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comma from STR
Message
From
27/05/2009 08:39:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01401981
Message ID:
01402193
Views:
64
>>Hi All:
>>
>>Is there any way for the STR function to automatically return the number formatted with the ',' for the 1000 delimiter?
>>
>>Example:
>>
>>
>>? STR(12345)    &&Displays 12,345
>>
>>
>>I'm converting a Clipper program that seems to have that capability.
>>
>>Thanks,
>>
>>Yossi
>
>You can probably use #DEFINE STR() StrComma() but I would not advise it.

I don't think that would work. #DEFINE does a straight substitution, so it'll never find STR(), since there are params in the parens.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform