Hello all,

I've just jumped into Python trying to develop X-Plane plugins.

All was chugging along well until I tried to use math.cos()

snippet:

import math

....

cos_phi = math.cos(math.radians(XPLMGetDataf(self.ACphi))) # Error
occurs here



Now XPLMGetDataf should be returning float.

Is there something that I'm completely missing about how Python does
tyonig or something?

Thanks in advance,

Moonman

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to