Of a top of my head
LPARAMETERS tnNumber, tnDp
RETURN ROUND(tnNumber - (5/(10^(tnDp+1))), tnDp)
>is there a numeric truncate function in VFP as in:
>Truncate(2.347,2) returns 2.34
>Truncate(2.341,2) returns 2.34
>Truncate (78.1297,3) returns 78.129
>Similar to round but without the rounding bit
>
--sb--