>Hi George,
>
>change SET DECIMALS TO value not change result ( and this is correct because SET DECIMALS TO change only the format of variable, not the value).
>
>
>SET DECIMALS TO 10
>? 1/2000000 = 0
>
>
Fabio,
Simply declare the variable recieving the result and this won't happen. By that, I mean use the As clause to declare it as a float, double, or currency variable. This shouldn't be a big deal since most other languages require it.
George
Ubi caritas et amor, deus ibi est