SyntaxFix
Write A Post
Hire A Developer
Questions
Arithmetical (as opposed to algorithmic) solution:
angle = Pi - abs(abs(a1 - a2) - Pi);