docs: def sexagesimal(sexathang, latlon, form='DDD'):
      """
      Arguments:
          sexathang: (float), -15.560615 (negative = South), -146.241122 (negative = West)  # Apataki Carenage
          latlon: (str) 'lat' | 'lon'
          form: (str), 'DDD'|'DMM'|'DMS', decimal Degrees, decimal Minutes, decimal Seconds
      Returns:
          latitude: e.g., '15°33'38.214"S'
          longitude: e.g., '146°14'28.039"W'
      """
      cardinal = 'O'
      if not isinstance(sexathang, float):
          sexathang = 'n/a'
          return sexathang
  
      if latlon == 'lon':
          if sexathang > 0.0:
              cardinal = 'E'
          if sexathang < 0.0:
              cardinal = 'W'
  
      if latlon == 'lat':
          if sexathang > 0.0:
              cardinal = 'N'
          if sexathang < 0.0:
              cardinal = 'S'
  
      if 'RAW' in form:
          sexathang = '{0:4.9f}°'.format(sexathang)  # 4 to allow -100° through -179.999999° to -180°
          return sexathang
  
      if 'DDD' in form:
          sexathang = '{0:3.6f}°'.format(abs(sexathang))
  
      if 'DMM' in form:
          _latlon = abs(sexathang)
          minute_latlon, degree_latlon = modf(_latlon)
          minute_latlon *= 60
          sexathang = '{0}°{1:2.5f}\''.format(int(degree_latlon), minute_latlon)
  
      if 'DMS' in form:
          _latlon = abs(sexathang)
          minute_latlon, degree_latlon = modf(_latlon)
          second_latlon, minute_latlon = modf(minute_latlon * 60)
          second_latlon *= 60.0
          sexathang = '{0}°{1}\'{2:2.3f}\"'.format(int(degree_latlon), int(minute_latlon), second_latlon)
  
      return sexathang + cardinal