Too dumb to do the maths

BlitzMax Forums/BlitzMax Beginners Area/Too dumb to do the maths

Apologies as I am sure this is simple, but I have been thinking about it for too long, and now I have a total blank.

I have 2 angles and I just need to know how close they are to being at right angles to each other. The angles could be positive or negative, but I am just need to return a value between 0 and 90.

Any help would be much appreciated