Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Fractions to Decimal
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00476506
Message ID:
00476745
Vues:
31
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform