Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Formating display of floating point numbers
Message
From
09/08/2011 06:57:07
 
 
To
09/08/2011 01:53:43
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:
01520494
Views:
62
>>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}

Yes, friends and family have noticed that since I have been consulting at Dow Jones the index has not been ... climbing <g>

But the software I am redesigning hasn't gone into production yet, so if I am lucky the release will coincide with the up that will eventually come after the down.

Or maybe I'll just build something in to make it *look* like an up, anyway <bg>


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform