Rich,
Are you using VFP6? Transform works for VFP7...see
Re: LEN() for numeric expresions Thread #
716929 Message #
716960 and surrounding discussion.
>Fred,
>
>I really only needed the output string. The decimal position is just extra stuff that's good to have.
>
>Thanks Again!
>
>
>> It should be:
>
>> nDecimal = LEN(cN)-RAT(".",cN)
Steve Gibson