OK. This might be more of a math question but here goes.
I have a longitude value, let's say X. And I want to know if X falls between any two longitude values.
For example, if my X is 145 and the range is [21, -179]. The range is given by the Google Map API bounds and I can see on the google map that X does fall within that range.
However, how can I actually calculate this?
Thank you in advance!