让我说我有这个职位:32.709237, 51.627789
我需要知道它的纬度是W还是E,经度是N还是S.
答案 0 :(得分:3)
If 1st value = positive the mean you are in East
If 1st value = negative the mean you are in West
If 2nd value = positive the mean you are in North
If 2nd value = negative the mean you are in South
答案 1 :(得分:1)
北纬为正,南纬为负
同样,经度东部为正,西部为负
if(value<0)
//value is negative