Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert fraction to decimal
Message
 
To
22/01/2002 11:05:39
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00608451
Message ID:
00608464
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform