public CoordinateDMS roundSeconds(){
  int secondsNorth=(tenthsOfSecondsNorth > 0 ? (int)Math.round(tenthsOfSecondsNorth / 10.) : -(int)Math.round(-tenthsOfSecondsNorth / 10.));
  int secondsEast=(tenthsOfSecondsEast > 0 ? (int)Math.round(tenthsOfSecondsEast / 10.) : -(int)Math.round(-tenthsOfSecondsEast / 10.));
  return new CoordinateDMS(degreesNorth,minutesNorth,secondsNorth * 10,degreesEast,minutesEast,secondsEast * 10);
}

public CoordinateDMS roundSeconds ( ) { int secondsNorth = ( tenthsOfSecondsNorth > 0 ? ( int ) Math . round ( tenthsOfSecondsNorth / 10. ) : - ( int ) Math . round ( - tenthsOfSecondsNorth / 10. ) ) ; int secondsEast = ( tenthsOfSecondsEast > 0 ? ( int ) Math . round ( tenthsOfSecondsEast / 10. ) : - ( int ) Math . round ( - tenthsOfSecondsEast / 10. ) ) ; return new CoordinateDMS ( degreesNorth , minutesNorth , secondsNorth * 10 , degreesEast , minutesEast , secondsEast * 10 ) ; }
rounds off the coordinate to the nearest seconds .
