public double DMStoDEG(double d, double m, double s){
return d + (m / 60.0) + (s / 3600.0);
}
public double DMStoDEG(int d, int m, int s){
return double(d) + (double(m) / 60.0) + (double(s) / 3600.0);
}
728x90
반응형
public double DMStoDEG(double d, double m, double s){
return d + (m / 60.0) + (s / 3600.0);
}
public double DMStoDEG(int d, int m, int s){
return double(d) + (double(m) / 60.0) + (double(s) / 3600.0);
}