Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get decimal portion
Message
 
To
13/05/2007 04:07:09
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01225039
Message ID:
01225300
Views:
24
>I want to get 23 from 987.230 value.
>Is any function for this?
>Thanks

If you want the "23" as a character field you can do this:

JUSTEXT(TRANSFORM(987.23))

If you want it as a numeric value, just wrap the above with VAL():

VAL(JUSTEXT(TRANSFORM(987.23)))
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Reply
Map
View

Click here to load this message in the networking platform