Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formating display of floating point numbers
Message
From
09/08/2011 01:53:43
 
 
To
08/08/2011 18:15:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01520460
Message ID:
01520474
Views:
80
>I have *lots* of fields that are B(16)
>
>If I want to display that number rounded to the fourth decimal, for example, in a textbox what are my options for formatting the display ( assuming not just creating a dummy display field and converting the number )
>
>Seems there should be an easy trick to it, but I'm not seeing a format that looks right and I can't use an input mask for display - or can I ?

Why not ?
Perhaps transform() function might be helpful as well.

Hey, You better be careful ! Where you are at, one nasty bug might cost world economy trillions of dollars.
Uuuups... There goes another 500pts plunge ... {g}
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform