Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert fraction to decimal
Message
 
À
22/01/2002 11:05:39
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00608451
Message ID:
00608464
Vues:
21
function Fraction
parameters m.lcFraction

m.lnInt=val(left(m.lcFraction,at(" ",m.lcFraction)))
m.lnFra=substr(m.lcFraction,at(" ",m.lcFraction),10)
m.lnFra=&lnFra

return (m.lnInt+m.lnFra)
Cordialmente,

Fabiano Costa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform