code: def convert_to_xml(cls, degrees):
          
          if degrees < 0.0:
              degrees %= -360
              degrees += 360
          elif degrees > 0.0:
              degrees %= 360
  
          return str(int(round(degrees * cls.DEGREE_INCREMENTS)))
docs: Convert signed angle float like -427.42 to int 60000 per degree.
  
          Value is normalized to a positive value less than 360 degrees.