G
Guest
I need to calculate the difference in reported headings (azimuth), with a 360
degree max. I am currently doing it by subtracting the lower number from the
greater.
IIf ([heading1]>[heading2], [heading1]-[heading2], [heading2]-[heading1]).
That works just fine but now someone wants to see it in the shortest degree
around. In current calc heading1 is 332 degrees and heading2 is 14 degrees my
result is 318 degree difference. But that is calculating it the long way
around. Is there a way to get the 42 degree result?
Thanks
Dave
degree max. I am currently doing it by subtracting the lower number from the
greater.
IIf ([heading1]>[heading2], [heading1]-[heading2], [heading2]-[heading1]).
That works just fine but now someone wants to see it in the shortest degree
around. In current calc heading1 is 332 degrees and heading2 is 14 degrees my
result is 318 degree difference. But that is calculating it the long way
around. Is there a way to get the 42 degree result?
Thanks
Dave