>It would if you had
>
>#DEFINE true .T.
>
>>
>>Absolute 1st class! Change true to .T. as Fox did not like this, but again: very good.
>>Thanks for sharing with us.
>>
Sergey, of course, but that was not listed in the code.
An other thing: I am less enthousiastic after some tests:
0.33 results in 33/100
0.333333333333333 results in 0/3
0.3333333333333333 results in 1/3
0.6666 results in 1/3
I take it this has something to do with how VFP rounds
Regards,
Koen