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:
00476745
Views:
32
>>VAL(1/4) will return a syntax error. VAL('1/4') only returns the numerator, not the result of the of 1 divided by 4.
>
>Good point. (Too early in the morning for me here. >g<) I meant EVAL() not VAL(), but didn't expect John to literally put the 1/4 in there because it really needs to be a variable that's set by his parsing routine.

Well, go have another cup of coffee.< bg > It hasn't been that a good a day for me either. I forgot about the collation sequence on a question about sort an array.:-) Of course, given that to-day is "Foot in Mouth Friday" that's to be expected out of me.

Actually, the second half of the question is kind of intriguing.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform