code: def getEngineVersion(self, outputFormat = 'full'):
  		
  		version = self._getEngineVersionDetails()
  		formats = {
  			'major': version['MajorVersion'],
  			'minor': version['MinorVersion'],
  			'patch': version['PatchVersion'],
  			'full': '{}.{}.{}'.format(version['MajorVersion'], version['MinorVersion'], version['PatchVersion']),
  			'short': '{}.{}'.format(version['MajorVersion'], version['MinorVersion'])
  		}
  		
  		# Verify that the requested output format is valid
  		if outputFormat not in formats:
  			raise Exception('unreconised version output format "{}"'.format(outputFormat))
  		
  		return formats[outputFormat]
docs: Returns the version number of the latest installed version of UE4