Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding position of decimal
Message
From
22/03/2001 00:16:16
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00487442
Message ID:
00487515
Views:
8
>How can I find the position of the decimal point in a numerical value. I tried to convert the number to string but it rounded the value.
>
>thanks
>Nick

You can use TRANSFORM(numericvalue) (or any of the PADx() functions) and parse the resultant string to get the number of decimal places.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform