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:
00476742
Vues:
27
Well it is coming from a text string not a number

>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform