版权声明:欢迎交流,本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_42513339/article/details/83088866
以纬度为例子:
int MyLatDegree = (int)MyLatitude;
float MyLatMinute = (int)(Mathf.Abs(MyLatitude) * 60) % 60;
float MyLatSecond = (int)(Mathf.Abs(MyLatitude) * 3600) % 60;