Thanks Hilmar, It worked.
>>Hi Everybody,
>>
>>How do I determine the decimal length of a numeric expression? For example for 678.76548 it is five.
>>
>>Thank you,
>>Ali
>
>transform() is not very trustworthy, and results vary with different VFP versions, but you can convert to text with padr() or padl():
>
>
>? alltrim(padr(678.76548, 30))
>
>
>From the result, you can search for the position of the point, or, safer, of the expression set("point") (in L.A. we use a comma; the situation is similar in most of Europe). Use the at() function.