Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric (Character Driven) Output
Message
 
To
19/11/2003 15:13:08
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00851612
Message ID:
00851621
Views:
7
But if the data is a string (representing a number), how would I output it with commas without having to convert to a value?

These values are bound to a cursor displayed in a grid.

Thanks!

>Tommy
>
>@R means to use mask for display only.
>Changing your number to a val() displays correctly.
>
>>Me again!
>>
>>My brain must be fried today..... sigh...
>>
>>What I want to know is ...................
>>
>>Given a character string like '123456789', I want them to have commas in the correct place for output in the grid.
>>
>>Like... '1,234,567,890'
>>
>>I tried "@R9,999,999,999,999", but I got '1234567890'
>>
>>If I try "9,999,999,999,999", I get 1,345,789, ????????????????????
>>
>>I used to know this in another life... sigh....
>>
>>OK gurus... what am I doing wrong today (besides breathing)????
>>
>>
>>Thanks!
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform