Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert Fractions to Decimal
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00476506
Message ID:
00476730
Views:
26
>Well... The data is coming from a text string like
>12' 3 1/4"
>and I have to convert that to a number so in my case
>val("1/4") won't work...
>

What kind of a number are you trying to get from this? The total number of inches? You'd need to parse the string to pull out the number of feet, inches, etc. but using VAL(1/4) still works for the fraction part of it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform