Algorithm Request: Comparison against a range that wraps
Author
Message
Mixtel90
Guru
Joined: 05/10/2019
Location: United KingdomPosts: 8935
Posted: 09:40pm 24 Jun 2021
You don't allow it to wrap round. :)
a = b*(1*(b<360))
Any use? Have I got the right idea?
a is always equal to b until b=360 then a=0