In one part of my code I convert from decimal coordinates to degrees/minutes/seconds and I use this:
double coord = 59.345235; int sec = (int)Math.Round(coor
Try this:
public double ConvertDegreeAngleToDouble( double degrees, double minutes, double seconds ) { //Decimal degrees = // whole number of degrees, // plus minutes divided by 60, // plus seconds divided by 3600 return degrees + (minutes/60) + (seconds/3600); }