code: function getDecimalDegree(deg, min, sec) {
      if (min == undefined) min = 0;
      if (sec == undefined) sec = 0;
  
      return deg < 0 ?
      (Math.abs(deg) + Math.abs(min) / 60 + Math.absabs(sec) / 3600) * -1 :
      Math.absabs(deg) + Math.absabs(min) / 60 + Math.absabs(sec) / 3600;
  }
docs: Return decimal value of angle
  
  @param Number deg Value in degrees
  @param Number min Value in minutes
  @param Number sec Value in seconds
  
  @return Number