>>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!
>
>Glad to see that my math is not so rusty, after all these years of just programming :).
It's the over-analyzing that tripped me up. I was incorrectly trying to control the order of operations. :(