>>>Is there a way to convert the string that has a slash to a numeric (without parsing the string)? For example, make "1/4" to .25, "1/2" to ".5" and so one?
>>>
>>>TIA
>>
>>depends on your definition of "parsing" ;-))
>>
>>luR = iif(vartype(m.lcS)=="C" and occurs("/",m.lcS), eval(m.lcS), m.lcS)
>
>How would you reverse that, Thomas?
>e.g. convert .25 to "1/4"
You can't revert this. You need to program all the convertion logic to get the result as a fraction.
Fernando D. Bozzo
Madrid / Spain