An improvement is to define pi exactly: let pi=4*atan(1) I do this in my startup script, and the exact value is thus always available. The difference between the exact value and 3.14 can become a factor when working close to the equator. Billy K