Hmmm, yes I found a few of those kind of things while trying to find this solution
I also experimented with transform and Str statements but this one seems to be the best
It works as long as the number of 9's and the padl second parameter match.
Thanks Len
Will
>I've also found another little quirk in VfP6 maths handling :
>
>Both
>
>? padl(9999999/10 ^ 3,8)+'9'
>? padl(9999999/1000,8)+'9'
>
>
>prints 10000.009
>
>whereas
>
>x = 3
>? padl(9999999/10 ^ x,8)+'9'
>
>
>prints 9999.9999
>
>so be wary on using a mathmatical solution
Will Jones