>
>transform() should work, but it doesn't always give the desired results. For instance, transform(-80.9) gives -80,90000000000001 on my computer (VFP 6, SP5).
>
>You may be better of writing your own function for this purpose.
>
In VFP7 it correctly returns -80.9.
--sb--