Dragan!
>>Can anyone show me what I'm missing?
>>
>
>I think in the denominator you've prematurely closed the parenthesis after SIN(m.rlat2). The denominator line should be
>
>
(SIN(m.rlat1) * SIN(m.rlat2) + COS(m.rlat1) * COS(m.rlat2) * COS(m.rDeltaLong))
That was it!