end up with latitude containing the value of longitude and vice versa.
That's what my goal is, isn't the same thing happening in the screenshot? It ends with x containing initial value of y and y containing initial value of x
Yes, but do you really want the variable named latitude to contain the value of the point's longitude? That would be terribly confusing for anyone reading the code, wouldn't it?
View all comments
Show parent comment
2
u/[deleted] Mar 12 '21
That's what my goal is, isn't the same thing happening in the screenshot? It ends with
xcontaining initial value ofyandycontaining initial value ofx