Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set numeric format programatically
Message
From
20/10/2004 08:25:33
 
 
To
19/10/2004 23:24:24
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00952502
Message ID:
00952963
Views:
11
>My report select the QTY field but my data is having 4 decimal places
>I want it to auto remove the last 0 decimal places
>e.g.
>my data 152445.5230 display as 152,445.523
>my data 152445.5000 display as 152,445.5
>my data 152445.0000 display as 152,445
>my data 152445.5237 display as 152,445.5237

But that's not what you said in your original message.
Try TRANSFORM( QTY) in your report field. It's supposed to remove trailing 0 from numeric data by default.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform