Hilmar,
I will keep this suggestion in mind. At this moment my main apps have not (yet) moved to VFP9.
Regards,
Ron
>>In a report I need to print numbers with only the relevant decimals. 100.001 should print the same but 100.000 should only print as 100. Is there an easy way to do this or do I need to program this?
>>
>>Regards,
>>
>>Ron Brahma
>
>
>transform(number)
>
>* or, apparently safer:
>
>alltrim(padl(number, 20))
>
>* or (requires VFP 9)
>
>cast(number as M)
>