Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format Numeric values
Message
From
08/01/1999 13:46:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00174133
Message ID:
00174137
Views:
25
Hi Mathias ----

It's not real clear what you are trying to accomplish. To ensure consistancy in the way data input and display for grids is done, make sure that the Format and InputMask properties at both the control and column level is the same.


>I have noticed that the old @say pict "999" formats numerical data in a way hard to achieve any other way.
>
>For example @0,0 say 9999.99 PICT "999.999.999,99" spits 9.999,99
>For those who may wonder why this would be necessary if you wanted to format an amount of money in most European countries where they use a a comma (,) as a decimal separater and a period as a thousand separator. So $100,000.00 might be something like 200.000,00DM.
>
>I would want to be able to capture the @say output into a variable that would be more useful than just saying to the screen or file.
>
>How could I achieve that? I have tried to tweak DynamicInputmask, InputMask, and format properties in a grid but to no avail. I don't want to use the Currency data format because it applies to the entire object (in this case a grid). I would want to change the format per line.
>
>Any clues, ideas will be highly appreciated.
>
>Thanks and happy new year to all.
>
>Mathias
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform